Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
# block" requests to send to each keepstore server at a
# time. Smaller values use less memory in keepstore and
# keep-balance. Larger values allow more progress per
- # keep-balance iteration. Setting both limits to zero amounts
- # to a "dry run".
+ # keep-balance iteration. A zero value computes all of the
+ # needed changes but does not apply any.
BalancePullLimit: 100000
BalanceTrashLimit: 100000
for {
if srv.Cluster.Collections.BalancePullLimit < 1 && srv.Cluster.Collections.BalanceTrashLimit < 1 {
logger.Print("WARNING: Will scan periodically, but no changes will be committed.")
- logger.Print("======= Consider using non-zero BalancePullLimit and BalanceTrashLimit configs.")
+ logger.Print("======= To commit changes, set BalancePullLimit and BalanceTrashLimit values greater than zero.")
}
if !dblock.KeepBalanceService.Check() {