sadanand48 commented on a change in pull request #3175:
URL: https://github.com/apache/ozone/pull/3175#discussion_r831264295
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
##########
@@ -533,6 +533,8 @@ private boolean isKeyEmpty(OmKeyInfo keyInfo) {
int maxKeys) throws IOException {
Preconditions.checkNotNull(volumeName);
Preconditions.checkNotNull(bucketName);
+ Preconditions.checkArgument(!isBucketFSOptimized(volumeName, bucketName),
+ "ListKeys called for fso bucket instead of listStatus");
Review comment:
Thanks noted, I will address these assertions separately in HDDS-6426 .
--
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]