snicholasbarton opened a new pull request, #19067:
URL: https://github.com/apache/iceberg/pull/19067

   Similar to #14709 - during the cleanup stage of a commit, we always refresh 
the full table metadata in order to grab the saved snapshot. For e.g. REST 
Catalogs and RESTTableOperations, the saved snapshot is already present because 
we update the current metadata with the catalog's response. Thus we can elide 
the refresh and save a full round-trip to the catalog.
   
   Internally we have a very large volume of commits and this meaningfully 
reduces traffic and load on our Catalog.
   
   Revives #18311, which was closed as stale while waiting on #18074. That has 
now landed, and this is rebased on top of it as suggested by @uros-b: 
`ops.current()` is checked first, falling back to `ops.refresh()`, and cleanup 
uses `committedManifestPaths(saved)`.
   
   ---
   **AI Disclosure**
   - Model: Claude Opus 5.5
   - Platform/Tool: Claude Code
   - Human Oversight: [unknown - human to fill in]
   - Prompt Summary: Rebase the original human-authored change onto main after 
#18074 and fix a test comment wrap; the code change itself is from the original 
PR.
   
   🤖 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