Skip to content

[stable20] extend cache events - #28820

Merged
icewind1991 merged 5 commits into
stable20from
backport/24113/stable20
Sep 16, 2021
Merged

[stable20] extend cache events#28820
icewind1991 merged 5 commits into
stable20from
backport/24113/stable20

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #24113

- adds cache remove event
- expose storage id in event
- emit events during cache move
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@AndyScherzinger
AndyScherzinger requested review from skjnldsv and removed request for MorrisJobkeSeptember 13, 2021 20:44
@icewind1991
icewind1991 requested review from juliusknorr and removed request for rullzerSeptember 15, 2021 12:11

@blizzzblizzz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

assuming (and finding to proof that is is otherwise) that CacheInsertEvent and CacheUpdateEvent are constructed internally only, as otherwise it would break compatibility for the changed constructor.

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991

Copy link
Copy Markdown
Member

assuming (and finding to proof that is is otherwise) that CacheInsertEvent and CacheUpdateEvent are constructed internally only, as otherwise it would break compatibility for the changed constructor.

Added a default value for fallback just in case

@icewind1991
icewind1991 merged commit c7ab27c into stable20Sep 16, 2021
@icewind1991
icewind1991 deleted the backport/24113/stable20 branch September 16, 2021 14:08
@blizzzblizzz mentioned this pull request Sep 23, 2021
8 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@icewind1991@blizzz@skjnldsv@AndyScherzinger