Skip to content

fix(hyperloglog): use namespace-prefixed key in PFMERGE GetMetadata#3441

Open
songqing wants to merge 3 commits intoapache:unstablefrom
songqing:fix/hll-merge-ns-key
Open

fix(hyperloglog): use namespace-prefixed key in PFMERGE GetMetadata#3441
songqing wants to merge 3 commits intoapache:unstablefrom
songqing:fix/hll-merge-ns-key

Conversation

@songqing
Copy link
Copy Markdown
Contributor

Merge called GetMetadata with the raw user key instead of the namespace-prefixed key, causing the destination's existing metadata to never be found and potentially orphaning old sub-keys.

Merge called GetMetadata with the raw user key instead of the
namespace-prefixed key, causing the destination's existing metadata
to never be found and potentially orphaning old sub-keys.
@PragmaTwice PragmaTwice requested a review from mapleFU April 10, 2026 06:49
jihuayu
jihuayu previously approved these changes Apr 10, 2026
@jihuayu
Copy link
Copy Markdown
Member

jihuayu commented Apr 10, 2026

It looks like this won't leave behind any stale data that needs manual cleanup. We can just update the code directly.

@songqing
Copy link
Copy Markdown
Contributor Author

It looks like this won't leave behind any stale data that needs manual cleanup. We can just update the code directly.

I just add a new test to verify the fix, without the fix, the new test will fail and add comment on the test

@sonarqubecloud
Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants