void WiredTigerRecoveryUnit::beingReleasedFromOperationContext() { LOG(2) << "WiredTigerRecoveryUnit::beingReleased"; _currentlySquirreled = true; if ( !wt_keeptxnopen() ) { _commit(); } }
void savePositioned() final { if (_cursor && !wt_keeptxnopen()) { try { _cursor->reset(_cursor); } catch (const WriteConflictException& wce) { // Ignore since this is only called when we are about to kill our transaction // anyway. } } }