diff options
author | Judah Schvimer <judah@mongodb.com> | 2018-03-27 17:09:49 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2018-03-28 15:34:20 -0400 |
commit | 000c38e8d9da43195fc38da90f0cbbe7811cb6a8 (patch) | |
tree | 5fedf07de85ec7fa8397fb478eca6bedf3c27e1c /src/mongo/db/op_observer.h | |
parent | 9507a4389cfc81ce48f93e11b8a1bf735bc93399 (diff) | |
download | mongo-000c38e8d9da43195fc38da90f0cbbe7811cb6a8.tar.gz |
SERVER-34099 Clear config version cache on rollback if needed
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r-- | src/mongo/db/op_observer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h index f73b5eb85f2..f6116324eee 100644 --- a/src/mongo/db/op_observer.h +++ b/src/mongo/db/op_observer.h @@ -276,6 +276,9 @@ public: // True if the shard identity document was rolled back. bool shardIdentityRolledBack = false; + // True if the config.version document was rolled back. + bool configServerConfigVersionRolledBack = false; + // Maps command names to a count of the number of those commands that are being rolled back. StringMap<std::uint32_t> rollbackCommandCounts; }; |