lizhimins opened a new pull request, #5006: URL: https://github.com/apache/rocketmq-dashboard/pull/5006
## Summary Resolve open-source Apache topic and consumer-group writes to a single owning instance/cluster and fail closed when the target is ambiguous, instead of falling back to the first cluster or to all masters/slaves. ## Changes - **ResourceOwnershipGuard**: global name ownership checked under a DB row lock, with an independent-commit reservation around provider writes - **ApacheWriteTargetResolver**: derive the write target from the owner and reject ambiguous topologies rather than guessing - **ResourceOwnershipSchemaMigration**: idempotent startup migration to a globally unique topic/group name; conflicts fail startup, never drop - Require a non-blank instanceId on topic/group delete and TTL update - Guard applies only to Apache instances; cloud vendors stay isolated by their own instance-scoped APIs - Cover the guard, resolver, migration and provider paths with tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
