summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.h
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-03-27 17:09:49 -0400
committerJudah Schvimer <judah@mongodb.com>2018-03-28 15:34:20 -0400
commit000c38e8d9da43195fc38da90f0cbbe7811cb6a8 (patch)
tree5fedf07de85ec7fa8397fb478eca6bedf3c27e1c /src/mongo/db/op_observer.h
parent9507a4389cfc81ce48f93e11b8a1bf735bc93399 (diff)
downloadmongo-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.h3
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;
};