summaryrefslogtreecommitdiffstats
path: root/container-search/pom.xml
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-01-03 14:15:44 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-01-03 14:56:49 +0000
commit225323f025b0ba5aae956f4c80e071b7d159278d (patch)
tree4935f90ff7e63891f1beb0a16194ac3009c9322b /container-search/pom.xml
parent831cd97c7ef749ba486e524122a90e1513a139fd (diff)
Make host info cluster state version reporting correct for deferred state bundles
If an application uses deferred cluster state activations, do not report back a given cluster state version as being in use by the node until the state version has been explicitly activated by the cluster controller. This change is due to the fact that the replication invalidation happens upon recovery mode entry, and for deferred state bundles this takes place when a cluster state is _activated_, not when the distributor is otherwise done gathering bucket info (for a non-deferred bundle the activation happens implicitly at this point). If the state manager reports that the new cluster state is in effect even though it has not been activated, the cluster controller could still end up using stale replication stats, as the invalidation logic has not yet run at this point in time. The cluster controller will ignore any host info responses for older versions, so any stale replication statistics should not be taken into account with this change.
Diffstat (limited to 'container-search/pom.xml')
0 files changed, 0 insertions, 0 deletions