Searched refs:scopedGuard (Results 1 – 3 of 3) sorted by relevance
236 auto scopedGuard = MakeGuard([&] { cleanupOnError(opCtx); }); in startClone() local279 scopedGuard.Dismiss(); in startClone()286 auto scopedGuard = MakeGuard([&] { cleanupOnError(opCtx); }); in awaitToCatchUp() local298 scopedGuard.Dismiss(); in awaitToCatchUp()305 auto scopedGuard = MakeGuard([&] { cleanupOnError(opCtx); }); in enterCriticalSection() local365 scopedGuard.Dismiss(); in enterCriticalSection()372 auto scopedGuard = MakeGuard([&] { cleanupOnError(opCtx); }); in commitChunkOnRecipient() local389 scopedGuard.Dismiss(); in commitChunkOnRecipient()396 auto scopedGuard = MakeGuard([&] { cleanupOnError(opCtx); }); in commitChunkMetadataOnConfig() local612 scopedGuard.Dismiss(); in commitChunkMetadataOnConfig()
220 auto scopedGuard = MakeGuard([&] { in startRecoveryAndAcquireDistLocks() local282 scopedGuard.Dismiss(); in startRecoveryAndAcquireDistLocks()304 auto scopedGuard = MakeGuard([&] { in finishRecovery() local368 scopedGuard.Dismiss(); in finishRecovery()
100 auto scopedGuard = MakeGuard([fd] { close(fd); }); in readFileAsString() local