Skip to content

fix(register): track all HTTP registrations - #7143

Open
dengliming wants to merge 1 commit into
apache:masterfrom
dengliming:fix-6778-track-all-http-registrations
Open

dengliming wants to merge 1 commit into
apache:masterfrom
dengliming:fix-6778-track-all-http-registrations

Conversation

@dengliming

Copy link
Copy Markdown
Member

Summary

  • replace static last-registration fields with instance-scoped concurrent maps
  • retain every URI and API document identity for shutdown offline events
  • add regression coverage for multiple registrations and repository isolation

Testing

  • mvn -q -pl shenyu-register-center/shenyu-register-client/shenyu-register-client-http -am -DskipTests=false -Dcheckstyle.skip=false -Dtest=HttpClientRegisterRepositoryTest -DfailIfNoTests=false test

Fixes #6778

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.

[BUG] HttpClientRegisterRepository uses static mutable URI/ApiDoc fields — only the last DTO is offlined on shutdown, with cross-instance leakage

1 participant