xiangfu0 opened a new pull request, #20146:
URL: https://github.com/apache/pinot/pull/20146

   S3 LIST can return a more precise modification time than HEAD. Callers that 
need to compare against a previously listed timestamp can now ask PinotFS for 
the LIST timestamp of one file.
   
   S3PinotFS uses its configured client to call ListObjectsV2 with the full 
object key as the prefix and a one-result limit. The general-purpose S3 
ordering puts the exact key before any longer matching keys. The method 
verifies the returned key, preserves fractional milliseconds, and reports 
missing objects or timestamps as errors. Other filesystem implementations can 
opt into the lookup.
   
   All 19 S3 listing tests passed, including cases for the request prefix and 
limit, fractional timestamps, similarly prefixed keys, and missing metadata. 
Scoped formatting, Checkstyle, and license checks passed.
   


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