You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/11/19 07:55:44 UTC
[GitHub] [ozone] timmylicheng commented on a change in pull request #1595: HDDS-4468. Fix Goofys listBucket large than 1000 objects will stuck forever
timmylicheng commented on a change in pull request #1595:
URL: https://github.com/apache/ozone/pull/1595#discussion_r526657800
##########
File path: hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java
##########
@@ -112,6 +112,10 @@ public Response list(
ContinueToken decodedToken =
ContinueToken.decodeFromString(continueToken);
+ // stand for startAfter
+ if (startAfter == null) {
+ startAfter = marker;
+ }
Review comment:
After startAfter = marker, could startAfter be null?
We may remove duplicated check for startAfter after this null checker.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org