Skip to content

fix(register): preserve distinct failback entries - #7142

Open
dengliming wants to merge 1 commit into
apache:masterfrom
dengliming:fix-6777-failback-registration-identity
Open

dengliming wants to merge 1 commit into
apache:masterfrom
dengliming:fix-6777-failback-registration-identity

Conversation

@dengliming

Copy link
Copy Markdown
Member

Summary

  • include namespace and type-specific identity fields in failback registration keys
  • replace an existing failback holder with the latest payload for the same identity
  • cover metadata, URI, API document, and MCP collision cases plus stale payload replacement

Testing

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

Fixes #6777

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] addToFail dedup key omits namespaceId and identity fields — drops distinct / newer failed registrations

1 participant