Skip to content

Fix serverOnlyPrefixConfigKeys is iterator issue#7110

Closed
turboFei wants to merge 1 commit intoapache:masterfrom
turboFei:exclude_prefix
Closed

Fix serverOnlyPrefixConfigKeys is iterator issue#7110
turboFei wants to merge 1 commit intoapache:masterfrom
turboFei:exclude_prefix

Conversation

@turboFei
Copy link
Member

@turboFei turboFei commented Jun 23, 2025

Why are the changes needed?

Followup for #7055
Before this PR, the serverOnlyPrefixConfigKeys is type of iterator.

After one time iteration, it become empty.

In this PR, we convert it to Set to fix this issue.

How was this patch tested?

UT.

Was this patch authored or co-authored using generative AI tooling?

No.

@turboFei turboFei self-assigned this Jun 23, 2025
@turboFei turboFei changed the title [KYUUBI #7053][FOLLOWUP] Fix serverOnlyPrefixConfigKeys is iterator issue [KYUUBI #7055][FOLLOWUP] Fix serverOnlyPrefixConfigKeys is iterator issue Jun 23, 2025
@turboFei turboFei added this to the v1.10.3 milestone Jun 23, 2025
followup

save

fix NO
@turboFei turboFei requested a review from pan3793 June 24, 2025 01:21
@pan3793 pan3793 changed the title [KYUUBI #7055][FOLLOWUP] Fix serverOnlyPrefixConfigKeys is iterator issue Fix serverOnlyPrefixConfigKeys is iterator issue Jun 24, 2025
@pan3793
Copy link
Member

pan3793 commented Jun 24, 2025

sounds dangerous, let's not use "follow-up" but a new ticket for PR that has been included in released versions

@turboFei turboFei closed this in aaac07f Jun 24, 2025
turboFei added a commit that referenced this pull request Jun 24, 2025
### Why are the changes needed?

Followup for #7055
Before this PR, the `serverOnlyPrefixConfigKeys` is type of iterator.

After one time iteration, it become empty.

In this PR, we convert it to `Set` to fix this issue.

### How was this patch tested?

UT.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #7110 from turboFei/exclude_prefix.

Closes #7110

91a54b6 [Wang, Fei] prefix

Authored-by: Wang, Fei <fwang12@ebay.com>
Signed-off-by: Wang, Fei <fwang12@ebay.com>
(cherry picked from commit aaac07f)
Signed-off-by: Wang, Fei <fwang12@ebay.com>
@turboFei turboFei deleted the exclude_prefix branch June 24, 2025 02:28
@turboFei
Copy link
Member Author

thanks, merging to master and 1.10.3

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