Skip to content

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

Merged
bergmania merged 2 commits into
release/14.3from
v14/hotfix/17182-No-not-rely-on-nucache-for-id-to-key-lookups
Oct 21, 2024
Merged

Do not rely on NuCache to do key/id lookups#17291
bergmania merged 2 commits into
release/14.3from
v14/hotfix/17182-No-not-rely-on-nucache-for-id-to-key-lookups

Conversation

@bergmania

@bergmania bergmania commented Oct 16, 2024

Copy link
Copy Markdown
Member

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

kjac commented Oct 18, 2024

Copy link
Copy Markdown
Contributor

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
@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