Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
CellUtil.createFirstOnRow is more effective than KeyValueUtil.createFirstOnRow, because there is no byte[] copy.
Current in ReversedRegionScannerImpl#nextRow, to get the previous row to seek, it use KeyValueUtil.createFirstOnRow which will have two copy, the first copy is copy to a tmp byte[], the second copy is in KeyValue. We can use CellUtil.createFirstOnRow which will have no copy.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-16665 Check whether KeyValueUtil.createXXX could be replaced by CellUtil without copy
- Resolved