Wenzhe Zhou 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 12: Code-Review+1 (4 comments) https://gerrit.cloudera.org/#/c/25153/12//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/25153/12//COMMIT_MSG@19 PS12, Line 19: registrations report active, and after every re-registration. It follows the registered stub that reports nit: make the line shorter 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@397 PS11, Line 397: if (HaRoleChecks() && statestore_is_active && statestore2_is_active) { > Call ReconcileRoles() if HaRoleChecks() && statestore_is_active && statesto Done https://gerrit.cloudera.org/#/c/25153/11/be/src/statestore/statestore-subscriber.cc@494 PS11, Line 494: // The recovery thread and the role RPC raced, and the other one has swapped. > Could you call HaRoleChecks() once, like Done https://gerrit.cloudera.org/#/c/25153/11/be/src/statestore/statestore-subscriber.cc@868 PS11, Line 868: "statestored addresses, but statestored HA requires two different " > Also check response.active_statestored_version > 0 Done -- 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: 12 Gerrit-Owner: Petr Fedchenkov <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Petr Fedchenkov <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Sat, 21 Nov 2026 00:08:09 +0000 Gerrit-HasComments: Yes
