Yida Wu has posted comments on this change. ( https://gerrit.cloudera.org/25153 )
Change subject: IMPALA-15575: Choose the active statestored from the current stub state ...................................................................... Patch Set 11: Code-Review+1 (2 comments) https://gerrit.cloudera.org/#/c/25153/11/be/src/statestore/statestore-subscriber.cc File be/src/statestore/statestore-subscriber.cc: https://gerrit.cloudera.org/#/c/25153/11/be/src/statestore/statestore-subscriber.cc@498 PS11, Line 498: std::max(active_statestore_->GetActiveVersion(&stub_is_active), : standby_statestore_->GetActiveVersion(&stub_is_active)); > The active versions are UnixMicros() from two different hosts, and this max A follow-up ticket looks good to me. https://gerrit.cloudera.org/#/c/25153/11/be/src/statestore/statestore-subscriber.cc@649 PS11, Line 649: active_statestore_ = best; > This switch doesn't set has_failover, so the post failover grace period doe Could you add a brief comment for the reasoning in ReconcileRoles()? -- To view, visit https://gerrit.cloudera.org/25153 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I4f0c999a0eb4c8049b97223aba902dd55da708f0 Gerrit-Change-Number: 25153 Gerrit-PatchSet: 11 Gerrit-Owner: Petr Fedchenkov <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Petr Fedchenkov <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Fri, 20 Nov 2026 00:41:40 +0000 Gerrit-HasComments: Yes
