RockteMQ-AI commented on issue #2591: URL: https://github.com/apache/rocketmq-dashboard/issues/2591#issuecomment-5413230978
**Issue Evaluation** Category: `bug` | Status: **Confirmed** Both sub-issues have been verified against the current codebase on the `rocketmq-studio` branch: **1. Stale response race condition** — The `cancelled` flag in each `useEffect` closure is independent. A slow earlier request can still resolve after a newer request has started and overwrite the newer result. The same pattern affects filter-option requests after cleanup refreshes. **2. Export/table filter mismatch** — `handleExport` passes raw `searchText` while the table query uses `debouncedSearchText`. If the user clicks Export before the debounce timer fires, the exported file uses a different keyword than the visible table. **Root Cause:** Missing request sequencing (no generation counter or AbortController) and inconsistent filter source between table query and export. **Impact:** Audit page (`web/src/pages/ops/audit.tsx`) **Severity:** Medium — data consistency issue, no data loss An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by github-manager-bot* -- 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]
