17574: Add BalanceUpdateLimit config, fix tests.
[arvados.git] / lib / config / config.default.yml
index e28d5cbb7f0cd09b3ad559f6cab0c9a9967c10d5..c5bc1c8e87f6e8c6598eadc93f2f3766d222e703 100644 (file)
@@ -456,6 +456,13 @@ Clusters:
       # long-running balancing operation.
       BalanceTimeout: 6h
 
+      # Maximum number of replication_confirmed /
+      # storage_classes_confirmed updates to write to the database
+      # after a rebalancing run. When many updates are needed, this
+      # spreads them over a few runs rather than applying them all at
+      # once.
+      BalanceUpdateLimit: 100000
+
       # Default lifetime for ephemeral collections: 2 weeks. This must not
       # be less than BlobSigningTTL.
       DefaultTrashLifetime: 336h