Skip to content

Conversation

@icewind1991
Copy link
Member

this way it can delete the cache entries even with per-user credentials

Fixes #26842

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 10, 2021
@icewind1991 icewind1991 added this to the Nextcloud 22 milestone May 10, 2021
@icewind1991 icewind1991 requested review from MorrisJobke and blizzz May 10, 2021 15:35
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

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

I like the simplification. Should the deletes not be within a transaction, though?

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Code looks good 👍

@icewind1991 icewind1991 force-pushed the external-storage-delete-clean branch from 5de321f to 1423912 Compare May 11, 2021 15:25
@icewind1991
Copy link
Member Author

I like the simplification. Should the deletes not be within a transaction, though?

makes sense, done

@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish feature: external storage feature: filesystem and removed 3. to review Waiting for reviews labels May 11, 2021
@MorrisJobke
Copy link
Member

Tests fail now.

@MorrisJobke MorrisJobke added 2. developing Work in progress and removed 4. to release Ready to be released and/or waiting for tests to finish labels May 12, 2021
@icewind1991 icewind1991 force-pushed the external-storage-delete-clean branch 2 times, most recently from 39c700a to 599a4da Compare May 18, 2021 15:34
@MorrisJobke
Copy link
Member

Still failing :/

@icewind1991 icewind1991 force-pushed the external-storage-delete-clean branch 2 times, most recently from ff830ea to debb440 Compare May 19, 2021 11:25
@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels May 19, 2021
this way it can delete the cache entries even with per-user credentials

Signed-off-by: Robin Appelman <[email protected]>
@icewind1991 icewind1991 force-pushed the external-storage-delete-clean branch from debb440 to ed2396b Compare May 19, 2021 16:12
@icewind1991
Copy link
Member Author

CI happy

@MorrisJobke MorrisJobke merged commit fa28782 into master May 19, 2021
@MorrisJobke MorrisJobke deleted the external-storage-delete-clean branch May 19, 2021 18:40
@icewind1991
Copy link
Member Author

/backport to stable21

@icewind1991
Copy link
Member Author

/backport to stable20

@skjnldsv
Copy link
Member

/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 feature: external storage feature: filesystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Storage and Filecache entries not be cleaned up upon global storage deletion

5 participants