diff options
Diffstat (limited to 'src/mongo/db/s/session_catalog_migration_source.h')
-rw-r--r-- | src/mongo/db/s/session_catalog_migration_source.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/session_catalog_migration_source.h b/src/mongo/db/s/session_catalog_migration_source.h index df0d9d80259..eacfa916ae6 100644 --- a/src/mongo/db/s/session_catalog_migration_source.h +++ b/src/mongo/db/s/session_catalog_migration_source.h @@ -248,6 +248,9 @@ private: // Used to store the last fetched oplog. This enables calling get multiple times. boost::optional<repl::OplogEntry> _lastFetchedOplog; + // Used to store an image when `_lastFetchedNewWriteOplog` has a `needsRetryImage` field. + boost::optional<repl::OplogEntry> _lastFetchedNewWriteOplogImage; + // Protects _newWriteTsList, _lastFetchedNewWriteOplog, _state, _newOplogNotification Mutex _newOplogMutex = MONGO_MAKE_LATCH("SessionCatalogMigrationSource::_newOplogMutex"); |