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

fix: fix cache store leaving orphan tenant on some update scenarios #946

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

AndrewTriesToCode
Copy link
Contributor

@AndrewTriesToCode AndrewTriesToCode commented Mar 14, 2025

The cache store update implementation needs to remove both the Id and the Identifier cache entries then add them both back in for the new value. If the update tenant id or identifier is null return false. The prior version did not remove but did a naive set assuming the id and/or identifier were not changed.

@AndrewTriesToCode AndrewTriesToCode merged commit 5edd9fe into main Mar 14, 2025
9 checks passed
AndrewTriesToCode added a commit that referenced this pull request Mar 18, 2025
…946)

(cherry picked from commit 5edd9fe)
@AndrewTriesToCode AndrewTriesToCode deleted the fix/Cache-Store-Update-Bug branch March 18, 2025 04:02
github-actions bot pushed a commit that referenced this pull request Mar 18, 2025
## [9.1.1](v9.1.0...v9.1.1) (2025-03-18)

### Bug Fixes

* fix cache store leaving orphan tenant on some update scenarios ([#946](#946)) ([5edd9fe](5edd9fe))
* update dependency versions ([#953](#953)) ([67598c1](67598c1))
@AndrewTriesToCode
Copy link
Contributor Author

🎉 This PR is included in version 9.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

1 participant