RockteMQ-AI commented on issue #10879: URL: https://github.com/apache/rocketmq/issues/10879#issuecomment-5231182512
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue has been verified against the current codebase. **Root Cause:** `DefaultMetadataStore.updateTopic` refreshes the update timestamp on the currently stored metadata object before replacing the map entry. When the caller supplies a distinct replacement object, the stored object retains its stale timestamp — only the discarded old object was refreshed. **Impact:** Topic metadata replacement loses the correct update timestamp, which can affect metadata ordering and staleness detection. **Severity:** Medium — affects metadata consistency but does not cause data loss or message delivery failures. An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by RockteMQ-AI* -- 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]
