citus/src
Jelte Fennema ac24e11986
Change default rebalance strategy to by_disk_size (#7033)
DESCRIPTION: Change default rebalance strategy to by_disk_size

When introducing rebalancing by disk size we didn't make it the default
initially. The main reason was, because we expected some problems with
it. We have indeed had some problems/bugs with it over the years, and
have fixed all of them. By now we're quite confident in its stability,
and that it pretty much always gives better results than by_shard_count.

So this PR makes by_disk_size the new default. We don't change the
default when some other strategy than by_shard_count is the current
default. This is in case someone defined their own rebalance strategy
and marked this as the default themselves.

Note: It explicitly does nothing during a downgrade, because there's no
way of knowing if the rebalance strategy before the upgrade was
by_disk_size or by_shard_count. And even in previous versions
by_disk_size is considered superior for quite some time.
2023-07-03 11:08:24 +02:00
..
backend Change default rebalance strategy to by_disk_size (#7033) 2023-07-03 11:08:24 +02:00
bin/pg_send_cancellation Add jobs to test builds on different distros (#6499) 2022-12-01 19:11:41 +03:00
include Change by_disk_size rebalance strategy to have a base size (#7035) 2023-06-27 16:37:09 +02:00
test Change default rebalance strategy to by_disk_size (#7033) 2023-07-03 11:08:24 +02:00