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

Change subject: IMPALA-12865: Fix wrong lastRefreshEventId set by firing RELOAD 
events
......................................................................


Patch Set 20:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21665/20/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/21665/20/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java@7576
PS20, Line 7576:       catalog_.addVersionsForInflightEvents(false, tbl, 
newCatalogVersion);
I think we should track them in partition level. If there are multiple 
partition level self RELOAD events, the first one will remove the tracked 
catalog version in the inFlight list. Then the following RELOAD events will be 
incorrectly treated as non-self events since they have the same catalogVersion.
https://github.com/apache/impala/blob/ff8bb33b91cd689bfaf2a51a19d0f615edd33d54/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java#L1380

Can we add a test for this scenario?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I90039da77ec561c5aede44456f88c6650582815b
Gerrit-Change-Number: 21665
Gerrit-PatchSet: 20
Gerrit-Owner: Sai Hemanth Gantasala <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>
Gerrit-Comment-Date: Fri, 14 Nov 2025 08:29:25 +0000
Gerrit-HasComments: Yes

Reply via email to