Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23174 )

Change subject: IMPALA-14227: In HA failover, passive catalogd should apply 
pending HMS events before being active
......................................................................


Patch Set 5:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/23174/4/be/src/catalog/catalog-server.cc
File be/src/catalog/catalog-server.cc:

http://gerrit.cloudera.org:8080/#/c/23174/4/be/src/catalog/catalog-server.cc@890
PS4, Line 890:   // to slow HMS RPCs.
> Some extra logging would be nice to indicate what is happening in the catal
Done


http://gerrit.cloudera.org:8080/#/c/23174/4/fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
File 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java:

http://gerrit.cloudera.org:8080/#/c/23174/4/fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java@1430
PS4, Line 1430:         progressInfo.latest_event_id = - 1;
              :         progressInfo.latest_event_time_s = -1
> Shouldn't we return an error in this case and do metadata reset?
I'm not sure what's the best behavior for this. If it's just an intermittent 
failure, it would be too strict to reset.

Changed this to return -1 and let the backend code retry until times out.



--
To view, visit http://gerrit.cloudera.org:8080/23174
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf4fcb0e27c14197f79625749949b47c033a5f31
Gerrit-Change-Number: 23174
Gerrit-PatchSet: 5
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
Gerrit-Comment-Date: Wed, 16 Jul 2025 13:14:36 +0000
Gerrit-HasComments: Yes

Reply via email to