Change default to bz1
parent
41e3294d4a
commit
40ff4f4a86
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue