Vihang Karajgaonkar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14916


Change subject: IMPALA-9257: Last event id should be advanced if all events are 
skipped
......................................................................

IMPALA-9257: Last event id should be advanced if all events are skipped

Events processor implements a filtering method which skips certain
unnecessary events (eg. events on blacklisted dbs and tables).
However, if the received batch has all the events which are filtered
out, it fails to update its lastSyncedEventId. This causes unnecessary
logs being printed in catalog and the same event batch being fetched
repeatedly.

Testing:
Modified existing test to compare event id after events on blacklisted
dbs and tables.

Change-Id: I7f94c1a8e8c221f504262d5591cda8c3a25c0c32
---
M 
fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java
M tests/custom_cluster/test_event_processing.py
2 files changed, 7 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f94c1a8e8c221f504262d5591cda8c3a25c0c32
Gerrit-Change-Number: 14916
Gerrit-PatchSet: 1
Gerrit-Owner: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Anurag Mantripragada <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to