diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2021-05-13 23:01:39 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-14 14:44:26 +0000 |
commit | 9fe221be9a9b4bb04c6d9e8727e5760d1813b408 (patch) | |
tree | 70502b6c984674ed92071b2d15ee3bd30c46ec3d /src/mongo/db/s/session_catalog_migration_source.h | |
parent | 7462cb443b3ef72b41ad6ca4defe0b45bc18495a (diff) | |
download | mongo-9fe221be9a9b4bb04c6d9e8727e5760d1813b408.tar.gz |
SERVER-56563: Downconvert `needsRetryImage` oplog entries for chunk migrations.
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..9e138af12a1 100644 --- a/src/mongo/db/s/session_catalog_migration_source.h +++ b/src/mongo/db/s/session_catalog_migration_source.h @@ -258,6 +258,9 @@ private: // Used to store the last fetched oplog from _newWriteTsList. boost::optional<repl::OplogEntry> _lastFetchedNewWriteOplog; + // Used to store an image when `_lastFetchedNewWriteOplog` has a `needsRetryImage` field. + boost::optional<repl::OplogEntry> _lastFetchedNewWriteOplogImage; + // Stores the current state. State _state{State::kActive}; |