tanvipenumudy commented on code in PR #7161:
URL: https://github.com/apache/ozone/pull/7161#discussion_r1745990292
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -2305,19 +2304,16 @@ public List<OzoneFileStatus> listStatus(String
volumeName, String bucketName,
String keyName, boolean recursive, String startKey,
long numEntries, boolean allowPartialPrefixes) throws IOException {
OmKeyArgs keyArgs = prepareOmKeyArgs(volumeName, bucketName, keyName);
- return ozoneManagerClient
- .listStatus(keyArgs, recursive, startKey, numEntries,
- allowPartialPrefixes);
- }
-
- @Override
- public List<OzoneFileStatusLight> listStatusLight(String volumeName,
- String bucketName, String keyName, boolean recursive, String startKey,
- long numEntries, boolean allowPartialPrefixes) throws IOException {
- OmKeyArgs keyArgs = prepareOmKeyArgs(volumeName, bucketName, keyName);
- return ozoneManagerClient
- .listStatusLight(keyArgs, recursive, startKey, numEntries,
- allowPartialPrefixes);
+ if (omVersion.compareTo(OzoneManagerVersion.LIGHTWEIGHT_LIST_STATUS) >= 0)
{
Review Comment:
> we have not yet shipped the new API with a release
I checked that we shipped both
[#5115](https://github.com/apache/ozone/pull/5115) (lightweight listKeys API)
as well as [#5275](https://github.com/apache/ozone/pull/5275) (lightweight
listStatus API) as part of 1.4.0 ([ozone-1.4.0
tag](https://github.com/apache/ozone/tree/ozone-1.4.0)).
--
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]