dentiny commented on issue #1038:
URL: https://github.com/apache/iceberg-rust/issues/1038#issuecomment-2833258376

   > Maybe you would like to start working on this?
   
   Sounds good! Let me start an issue to track.
   
   One thing would like to hear your suggestion is, there're two possible 
implementations:
   - Have a dedicated retry layer, which wraps around all detailed catalogs
     + A detailed example, tensorflow has a retrying filesystem wrapper: 
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/platform/retrying_file_system.h
     + The benefit is, we won't have retry logic here and there
   - Get detailed catalog (i.e. rest catalog) to handle retry
     + The benefit is: it has full knowledge whether or not to retry, and what 
to retry; for example, http status code is clearer than our error kind; 
resource exhausted error could be retried if we establish a new HTTP 
connection, etc.
     + The potential downside is, we could replicate retry logic, or even have 
retry logic at different call stacks.


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