cxorm commented on a change in pull request #385: HDDS-2779. Fix list volume 
for --start parameter
URL: https://github.com/apache/hadoop-ozone/pull/385#discussion_r360874686
 
 

 ##########
 File path: 
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/ObjectStore.java
 ##########
 @@ -299,11 +299,6 @@ public URI getKeyProviderUri() throws IOException {
 
     @Override
     public boolean hasNext() {
-      if(!currentIterator.hasNext()) {
-        currentIterator = getNextListOfVolumes(
-            currentValue != null ? currentValue.getName() : null)
-            .iterator();
-      }
 
 Review comment:
   Fixed with checking existed volume.
   And work well in listing more than 1000 volumes with the same user.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to