Skip to content

Commit a86fec0

Browse files
committed
metamorphic: disable blob file rewriting for now
Disable blob file rewriting compactions for now in the standard options. Close #4955.
1 parent e4c51dc commit a86fec0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

metamorphic/options.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ func defaultOptions(kf KeyFormat) *pebble.Options {
344344
MinimumSize: 5,
345345
MaxBlobReferenceDepth: 3,
346346
RewriteMinimumAge: time.Second,
347+
// TODO(jackson): Adjust the TargetGarbageRatio to allow blob file rewrites.
348+
TargetGarbageRatio: 1.0, // Disabled
347349
}
348350
}
349351

0 commit comments

Comments
 (0)