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

   ### Purpose
   
   - Add lastCommittedSnapshotId gauge to commit metrics, exposing the snapshot 
ID produced by the most recent commit (defaults to -1 before any commit)
   - Capture the snapshot ID directly from FileStoreCommitImpl after successful 
commit, avoiding race conditions with concurrent writers
   - Document lastScannedSnapshotId and lastCommittedSnapshotId in the metrics 
reference page
   
   ### Tests
   New test cases have been added.
   
   - CommitStatsTest verifies lastCommittedSnapshotId is correctly stored for 
empty, non-empty, and compaction commits
   - CommitMetricsTest verifies the gauge registers with default -1, then 
updates correctly across multiple report cycles
   
   


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