SERVER-120379Open

Implement KeystoreImplV2::insert

When inserting a key without a set numerical ID, we will use the prev() method of an unpositioned WT cursor to find the largest key in the table, then increment it to ensure that we allocate strictly monotonically increasing IDs. Because there are two separate WiredTiger operations involved (prev followed by insert), this operation will need to run in a transaction, so a new bool WTDataStoreSession::runInTransaction(std::function<bool()> callbackFn) method will be introduced which will be

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.