summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlistair Coles <alistairncoles@gmail.com>2022-09-14 15:18:05 +0100
committerAlistair Coles <alistairncoles@gmail.com>2022-09-30 08:46:57 +0100
commitf15b92084f0f10148f887b75b031686279bab6f3 (patch)
tree14ccf0b789c4781c556645330f071be11ed50094 /tools
parent429702e30de95ca3f0188b89d51364f6b47d5121 (diff)
downloadswift-f15b92084f0f10148f887b75b031686279bab6f3.tar.gz
sharder: always get ranges from root while shrinking
While auditing a shard container that is in a shrinking state, the sharder will merge any shard ranges fetched from the root that cover the shard's namespace. Previously this was conditional upon the sharder also fetching the shard's *own* shard range from the root. However, in extreme circumstances, the shard's own shard range could become deleted and reclaimed from the root while the shard DB still needs to shrink to its acceptor ranges. This patch therefore allows the shard to be updated with potential acceptor ranges from the root even when its own shard range is not fetched from the root. Also change the log level from debug to info when logging an update to a shard's own shard range from root. Change-Id: I17957cf0ef4936f91e69c6d9ae21551972f0df31
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions