You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/04 03:23:01 UTC
[PR] fix(message-history): store normalized cluster id for history records [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3083:
URL: https://github.com/apache/rocketmq-dashboard/pull/3083
### Summary
Align the write side of the query-history service with its read side (#3082 normalized query filters): history records now persist a trimmed `clusterId`.
- `recordMessageQuery` / `recordTraceQuery` store `normalizeOptional(clusterId)`, so a padded cluster id cannot create rows that the (already normalized) history queries and summary would never return.
### Why
After #3082, reads always trim `clusterId`; without this change, records written with a trailing space would be orphaned (unreachable by any subsequent query/summary for the same cluster).
### Testing
- `mvn -f server/pom.xml -Dtest=QueryHistoryServiceTest test` passes: 7/7 (6 existing + 1 new asserting both record methods store the trimmed cluster id).
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(message-history): store normalized cluster id for history records [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3083: fix(message-history): store normalized cluster id for history records
URL: https://github.com/apache/rocketmq-dashboard/pull/3083
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org