Skip to content

Commit

Permalink
metamorphic: metamorphically ingest as flushable
Browse files Browse the repository at this point in the history
  • Loading branch information
bananabrick committed Feb 9, 2023
1 parent 829675f commit 0568b5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/metamorphic/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ func randomOptions(rng *rand.Rand) *testOptions {
opts.Experimental.MaxWriterConcurrency = 2
opts.Experimental.ForceWriterParallelism = true
}
opts.Experimental.IngestSSTablesAsFlushable = rng.Intn(2) == 0
var lopts pebble.LevelOptions
lopts.BlockRestartInterval = 1 + rng.Intn(64) // 1 - 64
lopts.BlockSize = 1 << uint(rng.Intn(24)) // 1 - 16MB
Expand Down

0 comments on commit 0568b5f

Please sign in to comment.