Files
scylla/db
Tomasz Grabiec f043c83ba5 tablets: Change the meaning of initial_scale to mean min-avg-tablets-per-shard
Currently the scale is applied post rounding up of tablet count so
that tablet count per shard is at least 1. In order to be able to use
the scale to increase tablet count per shard, we need to apply it
prior to division by RF, otherwise we will overshoot per-shard tablet
replica count.

Example:

  4 nodes, -c1, rf=3, initial_tablets_scale=10

  Before: initial_tablet_count=20, tablet-per-shard=15
  After: initial_tablet_count=14, tablets-per-shard=10.5
2025-02-19 14:38:50 +01:00
..
2025-02-15 20:32:22 +02:00
2025-01-28 21:14:49 +01:00
2025-02-15 20:32:22 +02:00
2025-02-04 12:21:31 +03:00
2025-02-04 12:21:31 +03:00
2025-02-06 13:38:19 +02:00