priyankporwal commented on a change in pull request #702: PHOENIX-5707: Index 
rebuild after truncate incorrectly writes the inc…
URL: https://github.com/apache/phoenix/pull/702#discussion_r374231700
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/data/CachedLocalTable.java
 ##########
 @@ -78,7 +78,7 @@ private CachedLocalTable(HashMap<ImmutableBytesPtr, 
List<Cell>> rowKeyPtrToCells
                getMutationTimestampWhenAllCellTimestampIsSame(mutation);
         List<Cell> newCells = new ArrayList<Cell>();
         for(Cell cell : cells) {
-            if(cell.getTimestamp() < timestamp ) {
+            if(cell.getTimestamp() <= timestamp ) {
 
 Review comment:
   Nice fine @swaroopak!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to