aws / aws-database-encryption-sdk-dynamodb

AWS Database Encryption SDK for DynamoDB in Java
Apache License 2.0
20 stars 11 forks source link

fix(SearchableEncryption): respect CMC contract #1434

Closed texastony closed 1 month ago

texastony commented 1 month ago

Issue #, if available:

Description of changes: The CMC model indicates that a cache miss is an EntryDoesNotExist error. But other exceptions should not be swallowed.

The CMC model indicates that a cache put MAY throw a EntryAlreadyExists error. Such an exception should be ignored.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.