Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #35803 [Cache] Fix versioned namespace atomic clears (trvrnrth)
This PR was merged into the 4.4 branch. Discussion ---------- [Cache] Fix versioned namespace atomic clears | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT When using namespace versioning to achieve atomic cache clears, only delete cache keys matching the old/current version. This resolves tag inconsistency issues whereby the process running the clear would delete keys set against the new version by more recently spawned concurrent processes. Most seriously this could result in newly set data keys remaining, but with empty associated tag sets meaning the invalidation via tags was no longer possible. Clearing specific prefixes is not supported when using versioned namespaces as it is desirable to clear all old keys as they will no longer be used and would otherwise eventually fill cache memory. Commits ------- 971b177 Fix versioned namespace clears
- Loading branch information