Petr Fedchenkov has posted comments on this change. ( 
https://gerrit.cloudera.org/25154 )

Change subject: IMPALA-15597: Keep the active catalogd when a statestored 
restarts
......................................................................


Patch Set 12:

You're right that the marker covers more than statestored restarts — every
unforced designation made after the window expires sets it. That part is fine:
a restarted catalogd registers without claiming (the restart wipes its active
belief), so the marker only bites when the late registrant still believes it
is active — i.e. it couldn't reach the statestored for longer than the window
(a pause, a partition, or the statestored restarting under it) — and there
deferring to the designated catalogd is the safer behavior.

For --force_catalogd_active the concern is real, and it is the cost of this
approach: the operator flag and the auto-claim set the same field, so a
flagged catalogd registering after an expiry designation does end up standby.
It is bounded though: only expiry assignments suppress claims; the
re-registration path (live takeover) still honors the flag; and restarting
the designated active fails over to the flagged one, clearing the marker. If
that is not enough for operator deployments, a separate field carrying
operator intent would be the clean fix — happy to do it as a follow-up if you
think it is warranted.

Validation: added test_late_claim_ignored_after_preemption_window (fails
pre-fix); full HA suites pass; verified live on Kubernetes.


--
To view, visit https://gerrit.cloudera.org/25154
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb71b578950086ec38e7bf1102c73024749efb85
Gerrit-Change-Number: 25154
Gerrit-PatchSet: 12
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: Wed, 11 Nov 2026 12:09:30 +0000
Gerrit-HasComments: No

Reply via email to