sunhelly commented on a change in pull request #3436:
URL: https://github.com/apache/hbase/pull/3436#discussion_r663797695
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
##########
@@ -3244,18 +3244,21 @@ private void prepareDeleteTimestamps(Mutation mutation,
Map<byte[], List<Cell>>
private void updateDeleteLatestVersionTimestamp(Cell cell, Get get, int
count, byte[] byteNow)
throws IOException {
- List<Cell> result = get(get, false);
+ try (RegionScanner scanner = getScanner(new Scan(get))) {
+ List<Cell> result = new ArrayList<>();
Review comment:
Yes, I'll add comments, thanks.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]