mongo-c-driver
mongo-c-driver copied to clipboard
CDRIVER-5517 retry KMS encrypt requests on transient errors
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