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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-0.16] 馃悰 Fix lazy rest mapper cache invalidation #2689

Commits on Feb 15, 2024

  1. Fix lazy rest mapper cache invalidation

    When a group version is not found, if the group version is cached in
    apiGroups but not cached in knownGroups, the cache is not invalidated.
    Moreover and even worse, in that scenario an error is returned.
    
    This is only an issue under the very rare case where a version has been
    removed during a call just after caching in apiGroups but before it's
    cached in knownGroups.
    
    After the change now an error is never returned for not found versions
    no matter if the version was cached or not. And now the two different
    caches are checked and invalidated independently.
    g-gaston committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    df3a90a View commit details
    Browse the repository at this point in the history