Skip to content

Commit 4e99c55

Browse files
committed
storage: metamorphically enable blob-file rewrites
This patch enables blob-file rewrites metamorphically. Epic: none Release note: None
1 parent 45c8ecf commit 4e99c55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/storage/pebble.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,9 @@ var (
456456
"storage.value_separation.compaction_garbage_threshold",
457457
"the max garbage threshold configures the percentage of unreferenced value "+
458458
"bytes that trigger blob-file rewrite compactions; 100 disables these compactions",
459-
100, /* default; disables blob-file rewrites */
459+
int64(metamorphic.ConstantWithTestRange("storage.value_separation.compaction_garbage_threshold",
460+
10, /* default */
461+
1 /* min */, 80 /* max */)),
460462
settings.IntInRange(1, 100),
461463
)
462464
)

0 commit comments

Comments
 (0)