aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/quarantine.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-14 13:27:15 +0000
committerGravatar Runxi Yu2026-06-14 13:27:15 +0000
commita772af2310eae22f007fd95a4195346d32f3ffbd (patch)
treef9452ef35c69e7f759f5973369a07015fd29d123 /object/store/packed/quarantine.go
parentinternal/format/packidx/bloom: Add (diff)
Build bloom filter too.
Diffstat (limited to 'object/store/packed/quarantine.go')
-rw-r--r--object/store/packed/quarantine.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/object/store/packed/quarantine.go b/object/store/packed/quarantine.go
index 5e0b85cb..977a9543 100644
--- a/object/store/packed/quarantine.go
+++ b/object/store/packed/quarantine.go
@@ -156,6 +156,8 @@ func packPromotionPriority(name string) int {
return 1
case strings.HasPrefix(name, "pack-") && strings.HasSuffix(name, ".rev"):
return 2
+ case strings.HasPrefix(name, "pack-") && strings.HasSuffix(name, ".bloom"):
+ return 2
case strings.HasPrefix(name, "pack-") && strings.HasSuffix(name, ".idx"):
return 3
default: