AynSiddiqui commented on issue #2443: URL: https://github.com/apache/iceberg-go/issues/2443#issuecomment-7002652186
@HotSushi, agreed on both. I checked Java main: its retry strategy refuses a keyed retry once the elapsed time plus the next delay would reach the lifetime, and with PT0S the key is still sent but the strategy never retries. One difference: Java logs a malformed lifetime and drops the bound. I'd rather not resend keyed requests unless the lifetime parses and is positive. **Transport replay:** Go's `net/http` can replay a keyed request by itself, outside the explicit retry loop (the `Idempotency-Key` header makes POST and DELETE eligible). The retry PR will hold those replays to the same window. I'll show it with tests against the real transport (PT0S, inside the window, after expiry, keyed DELETE, redirects) before settling on a mechanism. **Caller scan keys:** they keep working, with or without advertisement. When a lifetime is advertised, their age counts against it. Caller keys must be UUIDv7, so I plan to read the age from the key's timestamp, clamped so a future timestamp never lengthens the window. If the window is already used up, the request is sent once with no resends. @zeroshade, can you confirm this before I open the retry PR? -- 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]
