Petr Fedchenkov 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 6: Thanks Yida. Patch set 6 adds your test and fixes the DCHECK: an out-of-date active status of a statestored is now ignored in the RegisterSubscriber response handling and in the failover swap of UpdateStatestoredRole(). The scenario also exposed a second gap on the statestored side, an already-active responder that wins the HA negotiation kept its old active version and notified nobody, fixed in the same patch. I kept your assertions; only the timing setup changed for determinism, since your Ignored assertion failed about one run in three on our chain. The details are in my comment on IMPALA-15575. With the patch the test passed 8 times in a row, and test_statestored_ha.py plus test_catalogd_ha.py pass with it. -- 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: 6 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: Mon, 02 Nov 2026 12:29:15 +0000 Gerrit-HasComments: No
