Skip to content

Conversation

@icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Oct 13, 2021

  • Fix "delete markers" causing ghost folders
  • More efficient file scanning
  • Make directory copy a bit more reliable
  • More reliable detection of changed folder contents
  • CI against 2 different "s3 compatible" implementations and with versioning enabled and disabled

@icewind1991 icewind1991 added the 2. developing Work in progress label Oct 13, 2021
@icewind1991 icewind1991 marked this pull request as draft October 13, 2021 17:43
@icewind1991 icewind1991 force-pushed the s3-external-list branch 10 times, most recently from a851448 to 3eed59d Compare October 14, 2021 18:00
@icewind1991 icewind1991 changed the title s3 external storage listing rework s3 external storage fixes Oct 15, 2021
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
@icewind1991
Copy link
Member Author

Ok, this should be good now.

It grew a bit in scope outside the "fix ghost folders" in order to have ci be happy in all cases but those changes should be good to have anyway

@icewind1991 icewind1991 marked this pull request as ready for review October 15, 2021 15:19
@icewind1991 icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 15, 2021
@icewind1991 icewind1991 requested a review from PVince81 October 15, 2021 15:19
@icewind1991 icewind1991 added this to the Nextcloud 23 milestone Oct 15, 2021
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested the main cases like rename, move and also create a folder with a similar name for #25370

All worked fine. Well done!

See comments

/** @var bool|null */
private $versioningEnabled = null;

/** @var IMemcache */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make that ICache ?

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

mind having a look at the code scanning issues before merging ?

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish bug and removed 3. to review Waiting for reviews labels Oct 22, 2021
@skjnldsv skjnldsv merged commit 2be0eda into master Oct 22, 2021
@skjnldsv skjnldsv deleted the s3-external-list branch October 22, 2021 10:06
@PVince81
Copy link
Member

should we limit backport of this to stable22 ?
it's a rather big impactful change

@skjnldsv
Copy link
Member

Ok! 👍

@skjnldsv
Copy link
Member

/backport to stable22

@icewind1991
Copy link
Member Author

/backport to stable21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants