kotwal-itpro commented on PR #4123: URL: https://github.com/apache/iceberg-python/pull/4123#issuecomment-7298838608
@korsakowii thanks for testing it against a REST fixture, and good catch. You're right: the table handles were refreshed one transaction at a time, so if a refresh failed, the remaining transactions stayed pending, and the caller got an exception even though the commit had landed. I pushed a fix that finalizes every committed transaction first, then refreshes each table on its own. A refresh that fails is logged as a warning instead of raised, because the commit has already been applied and calling `refresh()` later loads the new metadata. The new test makes one table's reload fail and checks that both transactions are finalized and the other table is still refreshed. @Fokko @kevinjqliu this is rebased on main, and I added `Catalog.transaction()` as Fokko suggested. Could you take another look when you have time? -- 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]
