![]() |
Storage Engine API
|
On rollback in init(), cleans up _indexes so that ~MultiIndexBlock doesn't try to clean up _indexes manually (since the changes were already rolled back). More...
On rollback in init(), cleans up _indexes so that ~MultiIndexBlock doesn't try to clean up _indexes manually (since the changes were already rolled back).
Due to this, it is thus legal to call init() again after it fails.
Public Member Functions | |
CleanupIndexesVectorOnRollback (MultiIndexBlockImpl *indexer) | |
virtual void | commit (boost::optional< Timestamp >) |
virtual void | rollback () |
![]() | |
virtual | ~Change () |
Private Attributes | |
MultiIndexBlockImpl *const | _indexer |
|
inlineexplicit |
|
inlinevirtual |
Implements mongo::RecoveryUnit::Change.
|
inlinevirtual |
Implements mongo::RecoveryUnit::Change.
|
private |