soura...@cloudera.com has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17276


Change subject: IMPALA-10637: Fixes bug in ValidWriteIdList comparison
......................................................................

IMPALA-10637: Fixes bug in ValidWriteIdList comparison

    For a transcational table, catalogD compares previous and current 
ValidWriteList to determine more recent version out of the two and reloads 
table cache accordingly. Because of a bug in ValidWriteIdList comparison, 
catalogD was not populating table cache with more recent changes. As a result 
of which we were seeing inconsistencies in read after write into the table.

    Tested by
    1. Adding a unit test to compare WriteIDLists.

Change-Id: Idaa4bcdbda1757a6451122efc505d1d483c879cc
---
M fe/src/main/java/org/apache/impala/util/AcidUtils.java
M fe/src/test/java/org/apache/impala/util/AcidUtilsTest.java
2 files changed, 14 insertions(+), 1 deletion(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idaa4bcdbda1757a6451122efc505d1d483c879cc
Gerrit-Change-Number: 17276
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <soura...@cloudera.com>

Reply via email to