Quanlong Huang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20864
Change subject: IMPALA-12683: Fix wrong event time for batched events ...................................................................... IMPALA-12683: Fix wrong event time for batched events When updating the last-synced-event-id after processing a batch of partition events, we use the last event id. We should do the same when updating last-synced-event-time. However, currently BatchPartitionEvent uses getEventTime() from the parent class. It actually returns the event time of the first event. We should override it to use the last event. Tests - Ran MetastoreEventsProcessorTest.testDisableEventSyncFlag 200 times. Change-Id: I82efe18dd28fe8af47f8c66cc8c5eb8e6f8dfd2b --- M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEvents.java 1 file changed, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/64/20864/1 -- To view, visit http://gerrit.cloudera.org:8080/20864 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I82efe18dd28fe8af47f8c66cc8c5eb8e6f8dfd2b Gerrit-Change-Number: 20864 Gerrit-PatchSet: 1 Gerrit-Owner: Quanlong Huang <[email protected]>
