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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to