kadirozde commented on a change in pull request #785: URL: https://github.com/apache/phoenix/pull/785#discussion_r428968164
########## File path: phoenix-core/src/main/java/org/apache/phoenix/coprocessor/IndexRebuildRegionScanner.java ########## @@ -635,6 +672,9 @@ public boolean verifySingleIndexRow(Result indexRow, IndexToolVerificationResult Collections.sort(expectedMutationList, MUTATION_TS_DESC_COMPARATOR); Collections.sort(actualMutationList, MUTATION_TS_DESC_COMPARATOR); if (verifyType == IndexTool.IndexVerifyType.ONLY) { + if (actualMutationList.get(0) instanceof Put) { Review comment: I added a comment to emphasize that we verify only the latest version as you suggested ---------------------------------------------------------------- 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: us...@infra.apache.org