Alistair Coles a46f2324ab sharder: always merge child shard ranges fetched from root
While the sharder is auditing shard container DBs it would previously
only merge shard ranges fetched from root into the shard DB if the
shard was shrinking; shrinking is the only time when a shard normally
*must* receive sub-shards from the root. With this patch the sharder
will also merge shard ranges fetched from the root if they are known
to be the children of the shard, regardless of the state of the shard.

Children shard ranges would previously only have been merged during
replication with peers of the shard; merging shard-ranges from the
root during audit potentially speeds their propagation to peers that
have yet to replicate.

Change-Id: I57aafc537ff94b081d0e1ea70e7fb7dd3598c61e
2022-09-30 11:20:23 +01:00
..
2022-09-12 13:54:20 -07:00