sarvekshayr commented on code in PR #9500:
URL: https://github.com/apache/ozone/pull/9500#discussion_r2622340714
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/repair/om/FSORepairTool.java:
##########
@@ -562,7 +562,7 @@ private void addReachableEntry(OmVolumeArgs volume,
OmBucketInfo bucket, WithObj
*/
private void addPendingToDeleteEntry(String originalKey) throws
IOException {
// No value is needed for this table.
- pendingToDeleteTable.put(originalKey, EMPTY_BYTE_ARRAY);
+ pendingToDeleteTable.put(originalKey, CodecBuffer.getEmptyBuffer());
Review Comment:
Yes, it would be a good optimisation. Filed
[HDDS-14187](https://issues.apache.org/jira/browse/HDDS-14187)
Thanks @swamirishi.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]