Uh oh!
There was an error while loading. Please reload this page.
HDDS-4468. Fix Goofys listBucket large than 1000 objects will stuck forever - #1595
Conversation
Uh oh!
There was an error while loading. Please reload this page.
maobaolong
commented
Nov 17, 2020
@adoroszlai Would you please take a look at this PR, thank you. |
maobaolong
commented
Nov 17, 2020
@runzhiwang Thanks for your quick review, I push a new commit to add some necessary comments, PTAL. |
Uh oh!
There was an error while loading. Please reload this page.
maobaolong
commented
Nov 18, 2020
@GlenGeng Thanks for your review, I push a new commit to update the comment, PTAL. |
Uh oh!
There was an error while loading. Please reload this page.
GlenGeng-awx
commented
Nov 19, 2020
+1 LGTM |
bharatviswa504
left a comment
There was a problem hiding this comment.
I have one comment.
Uh oh!
There was an error while loading. Please reload this page.
maobaolong
commented
Nov 23, 2020
@bharatviswa504 Thanks for your review and suggestion, I've set the PTAL. |
bharatviswa504
commented
Nov 23, 2020
Thank You everyone for the review and @maobaolong for the contribution. |
* HDDS-3698-upgrade: (46 commits) HDDS-4468. Fix Goofys listBucket large than 1000 objects will stuck forever (apache#1595) HDDS-4417. Simplify Ozone client code with configuration object -- addendum (apache#1581) HDDS-4476. Improve the ZH translation of the HA.md in doc. (apache#1597) HDDS-4432. Update Ratis version to latest snapshot. (apache#1586) HDDS-4488. Open RocksDB read only when loading containers at Datanode startup (apache#1605) HDDS-4478. Large deletedKeyset slows down OM via listStatus. (apache#1598) HDDS-4452. findbugs.sh couldn't be executed after a full build (apache#1576) HDDS-4427. Avoid ContainerCache in ContainerReader at Datanode startup (apache#1549) HDDS-4448. Duplicate refreshPipeline in listStatus (apache#1569) HDDS-4450. Cannot run ozone if HADOOP_HOME points to Hadoop install (apache#1572) HDDS-4346.Ozone specific Trash Policy (apache#1535) HDDS-4426. SCM should create transactions using all blocks received from OM (apache#1561) HDDS-4399. Safe mode rule for piplelines should only consider open pipelines. (apache#1526) HDDS-4367. Configuration for deletion service intervals should be different for OM, SCM and datanodes (apache#1573) HDDS-4462. Add --frozen-lockfile to pnpm install to prevent ozone-recon-web/pnpm-lock.yaml from being updated automatically (apache#1589) HDDS-4082. Create ZH translation of HA.md in doc. (apache#1591) HDDS-4464. Upgrade httpclient version due to CVE-2020-13956. (apache#1590) HDDS-4467. Acceptance test fails due to new Hadoop 3 image (apache#1594) HDDS-4466. Update url in .asf.yaml to use TLP project (apache#1592) HDDS-4458. Fix Max Transaction ID value in OM. (apache#1585) ...
* HDDS-3698-upgrade: (47 commits) HDDS-4468. Fix Goofys listBucket large than 1000 objects will stuck forever (apache#1595) HDDS-4417. Simplify Ozone client code with configuration object -- addendum (apache#1581) HDDS-4476. Improve the ZH translation of the HA.md in doc. (apache#1597) HDDS-4432. Update Ratis version to latest snapshot. (apache#1586) HDDS-4488. Open RocksDB read only when loading containers at Datanode startup (apache#1605) HDDS-4478. Large deletedKeyset slows down OM via listStatus. (apache#1598) HDDS-4452. findbugs.sh couldn't be executed after a full build (apache#1576) HDDS-4427. Avoid ContainerCache in ContainerReader at Datanode startup (apache#1549) HDDS-4448. Duplicate refreshPipeline in listStatus (apache#1569) HDDS-4450. Cannot run ozone if HADOOP_HOME points to Hadoop install (apache#1572) HDDS-4346.Ozone specific Trash Policy (apache#1535) HDDS-4426. SCM should create transactions using all blocks received from OM (apache#1561) HDDS-4399. Safe mode rule for piplelines should only consider open pipelines. (apache#1526) HDDS-4367. Configuration for deletion service intervals should be different for OM, SCM and datanodes (apache#1573) HDDS-4462. Add --frozen-lockfile to pnpm install to prevent ozone-recon-web/pnpm-lock.yaml from being updated automatically (apache#1589) HDDS-4082. Create ZH translation of HA.md in doc. (apache#1591) HDDS-4464. Upgrade httpclient version due to CVE-2020-13956. (apache#1590) HDDS-4467. Acceptance test fails due to new Hadoop 3 image (apache#1594) HDDS-4466. Update url in .asf.yaml to use TLP project (apache#1592) HDDS-4458. Fix Max Transaction ID value in OM. (apache#1585) ...
Description
The following is the
ListObjectsOutput,ListObjectsV2OutputandListObjectsInput,ListObjectsV2Inputfromgithub.com/aws/aws-sdk-go/service/s3/api.go,For goofys talk to s3g, it use the
ListObjectsOutputandListObjectsInput, so I think s3g should returnNextMarkerin theListBucketResultand usemarkto list key from.For this PR, I purpose to make
BucketEndpointofs3gcan both serve toV1andV2What changes were proposed in this pull request?
Fill
startAfterwith marker parameter whenstartAfterisnullFill nextMark to the response, so that Goofys can use the nextMark to list follow-up objects.
What is the link to the Apache JIRA
HDDS-4468
How was this patch tested?
I've tested this PR on my local env.