[email protected] has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/20487 )
Change subject: IMPALA-12399: (addendum) Fixed possible deadloop ...................................................................... IMPALA-12399: (addendum) Fixed possible deadloop OPEN_TXN is not fetched with get_next_notification() as an optimization. It can cause a deadloop in MetastoreEventsProcessor#getNextMetastoreEventsInBatches() when OPEN_TXN is the last event on HMS at the moment the method is invoked. Need to return when events received in response is empty. Testing: - Added a testcase and executed all tests. Change-Id: Idb4b8c3db23d39226f10b33cca4e6a1ab271b925 --- M fe/src/main/java/org/apache/impala/catalog/events/MetastoreEventsProcessor.java M fe/src/test/java/org/apache/impala/catalog/events/MetastoreEventsProcessorTest.java 2 files changed, 32 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/87/20487/3 -- To view, visit http://gerrit.cloudera.org:8080/20487 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Idb4b8c3db23d39226f10b33cca4e6a1ab271b925 Gerrit-Change-Number: 20487 Gerrit-PatchSet: 3 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]>
