Storage Engine API
mongo::AutoYieldFlushLockForMMAPV1Commit Class Reference

At global synchronization points, such as drop database we are running under a global exclusive lock and without an active write unit of work, doing changes which require global commit. More...

#include <lock_state.h>

Detailed Description

At global synchronization points, such as drop database we are running under a global exclusive lock and without an active write unit of work, doing changes which require global commit.

This utility allows the flush lock to be temporarily dropped so the flush thread could run in such circumstances. Should not be used where write units of work are used, because these have different mechanism of yielding the flush lock.

Public Member Functions

 AutoYieldFlushLockForMMAPV1Commit (Locker *locker)
 
 ~AutoYieldFlushLockForMMAPV1Commit ()
 

Private Attributes

MMAPV1LockerImpl *const _locker
 

Constructor & Destructor Documentation

◆ AutoYieldFlushLockForMMAPV1Commit()

mongo::AutoYieldFlushLockForMMAPV1Commit::AutoYieldFlushLockForMMAPV1Commit ( Locker locker)

◆ ~AutoYieldFlushLockForMMAPV1Commit()

mongo::AutoYieldFlushLockForMMAPV1Commit::~AutoYieldFlushLockForMMAPV1Commit ( )

Member Data Documentation

◆ _locker

MMAPV1LockerImpl* const mongo::AutoYieldFlushLockForMMAPV1Commit::_locker
private

The documentation for this class was generated from the following files: