Hello Quanlong Huang, Sai Hemanth Gantasala, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23823

to look at the new patch set (#2).

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/CatalogServiceCatalog.java
M fe/src/main/java/org/apache/impala/catalog/events/DbEventExecutor.java
M fe/src/main/java/org/apache/impala/catalog/events/TableEventExecutor.java
3 files changed, 41 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/23/23823/2
--
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: newpatchset
Gerrit-Change-Id: Ib04ee2fa425cb4be397232a0065b6fdbfc1e244c
Gerrit-Change-Number: 23823
Gerrit-PatchSet: 2
Gerrit-Owner: Anonymous Coward <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>

Reply via email to