mongo-c-driver icon indicating copy to clipboard operation
mongo-c-driver copied to clipboard

CDRIVER-5517 retry KMS encrypt requests on transient errors

Open adriandole opened this issue 10 months ago • 0 comments

C driver implementation to support retryable KMS encrypt requests.

Summary of changes

  • Check the new KMS context field (sleep_usec) that indicates how long to wait (if at all) before sending the next KMS request
  • Retry transient TCP errors
  • Implement the retry prose test

Testing

  • Evergreen patch: https://spruce.mongodb.com/version/664bc7d2ebaef90007283d77/

Prerequisites

  • Merge the libmongocrypt changes
  • Merge the drivers-evergreen-tools changes
  • Update compile-libmongocrypt with the new commit

adriandole avatar Apr 18 '24 04:04 adriandole