SERVER-136037Open

Make the KEK store concurrency-safe

Currently, accesses to the KEK store often assume that they are not acting concurrently. This can lead to TOCTTOU issues. Improve this by making the KEK store use atomic load/compare-and-swap semantics: * The Keystore object itself loses its accessors and mutators of the keystore, and instead just hands out KeystoreSnapshots. * These are versioned snapshots of the keystore. * To modify the keystore, callers take a snapshot, modify it, then use the Keystore::commit function, which takes a

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.