yyqdbngt opened a new pull request, #3106:
URL: https://github.com/apache/rocketmq-dashboard/pull/3106

   ### Summary
   Normalize topic / message-id text when writing query-history records:
   
   - `recordMessageQuery` and `recordTraceQuery` now store 
`normalizeOptional(topic)` / `normalizeOptional(msgId)` (trimmed, null-safe).
   
   ### Why
   Reads already trim search terms and cluster filters; records written with 
padded topic/msgId values would otherwise never match a later trimmed search — 
the same orphan-record class fixed for cluster ids earlier.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=QueryHistoryServiceTest test` passes: 7/7 (6 
existing + 1 new asserting both record methods store trimmed topic/msgId).
   


-- 
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