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

Do not rely on NuCache to do key/id lookups #17291

Conversation

bergmania
Copy link
Member

@bergmania bergmania commented Oct 16, 2024

Fixes #17182

Description

Doing migrations we need to lookup ids for keys and keys for ids. The IIdKeyMap is implemented using Nucache, and if any change to the nucache content happens, it will fail.

This is the safer approach as the comment also says. This changes as already been made in V15

Test

  • Setup v13 with some granular permissions
  • Migrate to this branch
  • Verify success

@kjac kjac self-requested a review October 16, 2024 12:43
@kjac
Copy link
Contributor

kjac commented Oct 18, 2024

This looks great and tests out great too; I have tested both attended and unattended upgrades.

However, the E2E tests continue to fail when I restart them. Can you have a look?

@bergmania bergmania merged commit 4be183a into release/14.3 Oct 21, 2024
8 of 14 checks passed
@bergmania bergmania deleted the v14/hotfix/17182-No-not-rely-on-nucache-for-id-to-key-lookups branch October 21, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants