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

Change subject: IMPALA-14618: Fix EventProcessor race with catalog reset
......................................................................


Patch Set 9:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24629/7/fe/src/main/java/org/apache/impala/catalog/events/TableEventExecutor.java
File fe/src/main/java/org/apache/impala/catalog/events/TableEventExecutor.java:

http://gerrit.cloudera.org:8080/#/c/24629/7/fe/src/main/java/org/apache/impala/catalog/events/TableEventExecutor.java@196
PS7, Line 196:         // This is a best-effort. The DROP_TABLE or ALTER_TABLE 
rename events could still
> Reason why i said that is because drop table event itself might not even be
At dispatch() time a rename is still a single AlterTableEvent. The 
pseudoDropTableEvent is not generated yet. I think adding it here is the 
cheapest place, though it doesn't handle all the cases. Maybe dispatch is 
usually fast so it doesn't worth the complexity to add it there.

Agree that this is just a minor improvement, not a neccessary correctness fix. 
Added some comments to clarify this. Also removed the new TODO in 
MetastoreEventsProcessor if that makes you feel better.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifa0833c09cd7ec2461a0f2d1db7ab5a72ab6822b
Gerrit-Change-Number: 24629
Gerrit-PatchSet: 9
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Anonymous Coward <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>
Gerrit-Comment-Date: Tue, 25 Aug 2026 12:55:25 +0000
Gerrit-HasComments: Yes

Reply via email to