Change default to bz1

pull/4308/head
Paul Dix 2015-10-06 15:30:11 -07:00
parent 41e3294d4a
commit 40ff4f4a86
3 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,9 @@ reporting-disabled = false
[data]
dir = "/var/opt/influxdb/data"
# Controls the engine type for new shards.
# Controls the engine type for new shards. Options are b1, bz1, or tsm1.
# b1 is the 0.9.2 storage engine, bz1 is the 0.9.3 and 0.9.4 engine.
# tsm1 is the 0.9.5 engine
# engine ="bz1"
# The following WAL settings are for the b1 storage engine used in 0.9.2. They won't

View File

@ -8,7 +8,7 @@ import (
const (
// DefaultEngine is the default engine for new shards
DefaultEngine = "tsm1"
DefaultEngine = "bz1"
// DefaultMaxWALSize is the default size of the WAL before it is flushed.
DefaultMaxWALSize = 100 * 1024 * 1024 // 100MB

View File

@ -1299,7 +1299,7 @@ func TestEngine_IndexGoodAfterFlush(t *testing.T) {
verify()
fmt.Println("flush")
if err := e.WAL.Flush(); err != nil {
t.Fatalf("error flushing: %s", err.Error)
t.Fatalf("error flushing: %s", err.Error())
}
fmt.Println("verify2")
verify()