dataroaring opened a new pull request, #61790:
URL: https://github.com/apache/doris/pull/61790

   ## Summary
   
   Fix incorrect modification timestamps in `AzureObjStorage` across three code 
paths:
   
   - **`globList` LIST path**: Used `getLastModified().getSecond()` which 
returns the second-of-minute (0–59), not an epoch timestamp
   - **`globListByGetProperties` HEAD path**: Used `toEpochSecond()` which 
returns epoch seconds — off by 1000× from S3's `toEpochMilli()`
   - **`listFiles` path**: Same `getSecond()` bug as the glob path
   
   All three are fixed to use `.toInstant().toEpochMilli()`, consistent with 
`S3ObjStorage` which uses `Instant.toEpochMilli()`.
   
   Found via review of #61775 (cherry-pick of #60414).
   
   ## Test plan
   - [ ] Verify Azure blob listing returns correct modification timestamps in 
epoch milliseconds
   - [ ] Confirm consistency between S3 and Azure storage backends for 
`RemoteFile.modifiedTime`
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to