swamirishi commented on code in PR #9084:
URL: https://github.com/apache/ozone/pull/9084#discussion_r2396378877
##########
hadoop-ozone/interface-storage/src/main/java/org/apache/hadoop/ozone/om/OMMetadataManager.java:
##########
@@ -135,6 +136,15 @@ public interface OMMetadataManager extends
DBStoreHAManager, AutoCloseable {
*/
String getBucketKeyPrefixFSO(String volume, String bucket) throws
IOException;
+
+ /**
+ * Retrieves a pair of volume ID and bucket ID associated with the provided
FSO (File System Object) key.
+ *
+ * @param fsoKey the key representing the File System Object, used to
identify the corresponding volume and bucket.
+ * @return a Pair containing the volume ID as the first element and the
bucket ID as the second element.
+ */
+ Pair<Long, Long> getVolumeBucketIdPairFSO(String fsoKey);
Review Comment:
Done added a new class
--
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]