[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23823


Change subject: IMPALA-14618: Ensure processor clear waits for active event 
processing
......................................................................

IMPALA-14618: Ensure processor clear waits for active event processing

With IMPALA-12709, metastore event processing became multi-threaded.
During metadata reset or invalidate, all DbProcessors and TableProcessors
were cleared without waiting for any event currently being processed
by those processors.

If an event was being processed at the time of clear, it could update
the cache with stale information after the metadata rebuild, leading
to inconsistencies.

This change ensures that processor clear waits for any ongoing event
processing to complete before clearing internal state.

Testing:
- Ran existing tests.

Change-Id: Ib04ee2fa425cb4be397232a0065b6fdbfc1e244c
---
M fe/src/main/java/org/apache/impala/catalog/events/DbEventExecutor.java
M fe/src/main/java/org/apache/impala/catalog/events/TableEventExecutor.java
2 files changed, 40 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/23/23823/1
--
To view, visit http://gerrit.cloudera.org:8080/23823
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib04ee2fa425cb4be397232a0065b6fdbfc1e244c
Gerrit-Change-Number: 23823
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to