X-LightYear opened a new pull request, #4548: URL: https://github.com/apache/rocketmq-dashboard/pull/4548
## Summary - prevent stale Topic sync route-check responses from overwriting newer modal results - track request ownership across sync-modal sessions - add deterministic regression coverage for overlapping route checks ## Root cause `openSyncModal` allowed overlapping route-check requests to update shared sync state in completion order. An older request could therefore complete after a newer sync check and overwrite the current `routesByTopic` / `syncMissing` state. ## Fix Track the latest Topic sync request generation and only allow the current request to update sync state. Older requests are ignored after a newer sync begins, the modal is closed, the instance changes, or the component is unmounted. ## Testing - deterministic stale route-check regression test - full TopicPage test suite: 27 passed - frontend lint: passed - frontend build: passed Fixes #4547 -- 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]
