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 13:

SetActiveRoleCallback() is called once, from CatalogServer::Start()
(catalog-server.cc): it wires the catalog-server.active-status metric into
the registration path without blocking under the statestore stub lock.

may_claim_active is consumed by the catalogd override
StatestoreSubscriberCatalog::SetRegisterRequest(), which sets
force_catalogd_active for the auto-claim only when it is true. The base
implementation serves non-catalog subscribers and ignores it; the parameter
lives in the base signature because the call site in
StatestoreStub::Register() dispatches virtually through StatestoreSubscriber*
and computes the claim context there.


--
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: 13
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: Fri, 13 Nov 2026 15:00:40 +0000
Gerrit-HasComments: No

Reply via email to