Skip to content

Commit d7c75aa

Browse files
committed
cmd/pebble: disable blob file rewrites
1 parent a86fec0 commit d7c75aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/pebble/db.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ func newPebbleDB(dir string) DB {
8888
MinimumSize: 512,
8989
MaxBlobReferenceDepth: 10,
9090
RewriteMinimumAge: 5 * time.Minute,
91+
// TODO(jackson): Adjust the TargetGarbageRatio to allow blob file rewrites.
92+
TargetGarbageRatio: 1.0, // Disabled.
9193
}
9294
}
9395

0 commit comments

Comments
 (0)