You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/05/02 18:33:52 UTC

[GitHub] sijie opened a new pull request #1379: [table service] apply backoff policy to rpc requests if storage container is not found

sijie opened a new pull request #1379: [table service] apply backoff policy to rpc requests if storage container is not found
URL: https://github.com/apache/bookkeeper/pull/1379
 
 
   Descriptions of the changes in this PR:
   
   *Motivation*
   
   A storage container can move between servers due to failures, or it can take time to start on a server. During that short period of time, it is "unavailable" and clients will receive `Status.NOT_FOUND` from grpc channels. The client should retry on this error and attempt to re-locate the storage container again.
   
   *Modification*
   
   - add backoff policy in client settings
   - apply the backoff policy at storage container channel. if it receives `NOT_FOUND` grpc exception, it will reset the server channel, so subsequent requests will re-attempt to relocate the storage container.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services