HotSushi commented on issue #2443:
URL: https://github.com/apache/iceberg-go/issues/2443#issuecomment-6997468657

   Thanks @AynSiddiqui for working on this, and @zeroshade, your plan is spot 
on.
   
   On the two open questions, here are my thoughts:
   
   > should we leave that behavior as-is, or bound transport replay too, for 
example by omitting the key or disabling replay when the lifetime is zero?
   
   We should bound it. Every keyed resend should follow the same rules as the 
explicit retry loop: resend only within the lifetime window, and never when the 
lifetime is missing or zero. This matches Java. With PT0S, the key is still 
sent, but the client never resends.
   
   > Should caller-supplied scan keys be suppressed without advertisement, and 
should their age from an earlier call reduce the available window?
   
   If the server advertises a lifetime, I'd vote to count the key's age against 
it. But we shouldn't suppress caller-supplied scan keys, since that would 
likely break backward compatibility..


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