The GitHub Actions job "CodeQL Analysis" on 
rocketmq.git/fix/proxy-query-message-subsecond-timestamp has failed.
Run started by GitHub user aoright (triggered by aoright).

Head commit for run:
1530dc4a69b2657513ac9adbbebf3a607249938a / aoright 
<[email protected]>
[ISSUE #11234] Fix Proxy Admin QueryMessage dropping subsecond timestamps

When ProxyAdminGrpcService handles queryMessage requests with beginTimestamp
or endTimestamp, it only converted getSeconds() to milliseconds, ignoring
getNanos(). Consequently, any fractional second precision was truncated to 
000ms.

This change adds TimeUnit.NANOSECONDS.toMillis(timestamp.getNanos()) to preserve
millisecond precision within the query window.

Closes #11234

Signed-off-by: aoright <[email protected]>

Report URL: https://github.com/apache/rocketmq/actions/runs/36692361194

With regards,
GitHub Actions via GitBox

Reply via email to