Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed inconsistent behavior for Namespace bundles cache #11346

Merged
merged 1 commit into from
Jul 18, 2021

Conversation

merlimat
Copy link
Contributor

Motivation

In 2.7 there's a bug that leave the Namespace bundles cache to not to be invalidated after a namespace is deleted.

If a namespace is deleted and recreated with a different number of bundles, that will lead to ownership issues.

The main problem is that we're invalidating the bundle cache immediately and it will get re-insterted with the old version of the z-node, therefore discarding the new updates.

This is targeting branch 2.7 since the code has changed quite a bit in 2.8. I'll also add the same test in master branch.

@merlimat merlimat added type/bug The PR fixed a bug or issue reported a bug release/2.7.4 labels Jul 16, 2021
@merlimat merlimat self-assigned this Jul 16, 2021
@merlimat merlimat merged commit 7537376 into apache:branch-2.7 Jul 18, 2021
@merlimat merlimat deleted the fix-bundles-cache-2.7 branch July 18, 2021 05:31
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.7 Archived: 2.7 is end of life release/2.7.4 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants