AynSiddiqui commented on PR #2679: URL: https://github.com/apache/iceberg-go/pull/2679#issuecomment-7281295704
Pushed 030ba1ab (no force-push) on top of a merge of main (d6b06247). When no attempt reached the server, a keyed commit that fails to dial now returns the dial error as is, and the same holds if the context is cancelled during the retries (both causes stay in the chain). An attempt counts as possibly delivered once a connection was acquired, or on any error other than a dial `*net.OpError`. `PT0S` makes no explicit resends (307/308 are still followed); `PT30M` retries within its bounds. A 409 after dial-only failures keeps `ErrCommitFailed`. Tests: `TestCommitDialError`, `TestCommitConflictAfterDialErrorKeepsChain`, `TestCommitDialErrorThenCancel`. The net/http replay is filed as #2772. -- 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]
