ivandika3 commented on code in PR #4585:
URL: https://github.com/apache/ozone/pull/4585#discussion_r1325913469
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/recovery/ReconOMMetadataManager.java:
##########
@@ -47,4 +50,26 @@ public interface ReconOMMetadataManager extends
OMMetadataManager {
* @return true if OM Tables are initialized, otherwise false.
*/
boolean isOmTablesInitialized();
+
+ /**
+ * Return all volumes in the file system.
+ * @return all the volumes from the OM DB.
+ */
+ List<OmVolumeArgs> listVolumes() throws IOException;
Review Comment:
> Updated with limit (default 1000) to bound the number buckets/volumes
returned.
Refers to `ReconOMMetadataManager#listVolumes(String startKey, int maxKeys)`
which will be called instead of `listVolumes()`.
--
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]