cxorm commented on issue #385: HDDS-2779. Fix list volume for --start parameter
URL: https://github.com/apache/hadoop-ozone/pull/385#issuecomment-568711796
 
 
   After fixing ```listVolumes``` with ```startVolume```, the original 
```VolumeIterator#getNextListOfVolumes``` would always have a non-empty list, 
and this situation leads to ```VolumeIterator#hasNext``` always be ```true```.
   
   So here we let the ```VolumeIterator#getNextListOfVolumes``` be empty list 
when there is no ```volume``` to be listed.
   
   Fixed, and ran on my standalone cluster.

----------------------------------------------------------------
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