fengruotj opened a new pull request, #8692:
URL: https://github.com/apache/paimon/pull/8692

   Author: tanjie.master <[email protected]>  
   Date: Thu Jul 16 12:30:23 2026 +0800
   
   ### Purpose
   
   This PR optimizes latest snapshot retrieval in `AbstractFileStoreWrite` by 
using `latestSnapshotFromFileSystem` instead of `latestSnapshot`.
   
   When creating a `FileStoreWriter`, it no longer queries the catalog for the 
latest snapshot. Instead, it retrieves the latest snapshot directly from the 
snapshot directory in the file system.
   
   This avoids unnecessary catalog requests when creating writers under high 
concurrency.
   
   This PR was inspired by [PR 
#5680](https://github.com/apache/paimon/pull/5680).
   
   ### Tests
   
   Existing tests should cover this change.
   
   ### API and Format
   
   No API or format changes.
   
   ### Documentation
   
   No new features.


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