Skip to content

[ISSUE #15724] Backport namespace propagation for listener IP query - #15760

Merged
KomachiSion merged 1 commit into
alibaba:v3.2.4-developfrom
KomachiSion:codex/backport-config-listener-ip-namespace-v3.2.4
Aug 24, 2026
Merged

KomachiSion merged 1 commit into
alibaba:v3.2.4-developfrom
KomachiSion:codex/backport-config-listener-ip-namespace-v3.2.4

Conversation

@KomachiSion

Copy link
Copy Markdown
Collaborator

What is the purpose of the change

Backport #15732 to v3.2.4-develop so listener state aggregation by client IP preserves the namespace filter when querying remote cluster members.

For #15724

Brief changelog

  • Propagate namespaceId through the listener state controller, delegate, and service interfaces.
  • Include namespaceId in remote listener-by-IP queries.
  • Update unit tests for the affected config and console call paths.

Verifying this change

  • mvn -B clean compile apache-rat:check checkstyle:check spotbugs:check spotless:check -e -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
  • 57 affected config and console unit tests passed.

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run the repository CI-equivalent compile, RAT, Checkstyle, SpotBugs, and Spotless checks locally.

…query

Propagate namespaceId through listener-by-IP aggregation so remote cluster members apply the same namespace filter as the local member.

(cherry picked from commit 6ab0f69)
@github-actions

Copy link
Copy Markdown

Thanks for your this PR. 🙏
Please check again for your PR changes whether contains any usage/api/configuration change such as Add new API , Add new configuration, Change default value of configuration.
If so, please add or update documents(markdown type) in docs/next/ for repository nacos-group/nacos-group.github.io


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式/API/配置参数的变更,如:新增API、新增配置参数、修改默认配置等操作。
如果是,请确保在提交之前,在仓库nacos-group/nacos-group.github.io中的docs/next/目录下添加或更新文档(markdown格式)。

@KomachiSion KomachiSion added this to the 3.2.4 milestone Aug 24, 2026
@KomachiSion KomachiSion added kind/bug Category issues or prs related to bug. area/Config labels Aug 24, 2026
@KomachiSion
KomachiSion merged commit 3727713 into alibaba:v3.2.4-develop Aug 24, 2026
3 checks passed
@KomachiSion
KomachiSion deleted the codex/backport-config-listener-ip-namespace-v3.2.4 branch August 24, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/Config kind/bug Category issues or prs related to bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants