satellite/gc/bloomfilter: enable sync observer by default

After deploying to most of production satellites we want to enable
it by default. No issues found after few weeks of running.

Change-Id: I4d83c65edaa95b0e50eeab6ac5e2c6cbb7206c1e
This commit is contained in:
Michal Niewrzal 2023-06-20 12:37:57 +02:00
parent eb636f5b57
commit bbdeb1eeb8
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import "time"
type Config struct { type Config struct {
RunOnce bool `help:"set if garbage collection bloom filter process should only run once then exit" default:"false"` RunOnce bool `help:"set if garbage collection bloom filter process should only run once then exit" default:"false"`
UseSyncObserver bool `help:"whether to use test GC SyncObserver with ranged loop" default:"false"` UseSyncObserver bool `help:"whether to use test GC SyncObserver with ranged loop" default:"true"`
// value for InitialPieces currently based on average pieces per node // value for InitialPieces currently based on average pieces per node
InitialPieces int64 `help:"the initial number of pieces expected for a storage node to have, used for creating a filter" releaseDefault:"400000" devDefault:"10"` InitialPieces int64 `help:"the initial number of pieces expected for a storage node to have, used for creating a filter" releaseDefault:"400000" devDefault:"10"`

View File

@ -494,7 +494,7 @@ contact.external-address: ""
# garbage-collection-bf.run-once: false # garbage-collection-bf.run-once: false
# whether to use test GC SyncObserver with ranged loop # whether to use test GC SyncObserver with ranged loop
# garbage-collection-bf.use-sync-observer: false # garbage-collection-bf.use-sync-observer: true
# how many bloom filters will be packed in a single zip # how many bloom filters will be packed in a single zip
# garbage-collection-bf.zip-batch-size: 500 # garbage-collection-bf.zip-batch-size: 500