summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_coordinator_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/repl_coordinator_impl.h')
-rw-r--r--src/mongo/db/repl/repl_coordinator_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/repl_coordinator_impl.h b/src/mongo/db/repl/repl_coordinator_impl.h
index 0a7b4465cb7..b93c5f4f21a 100644
--- a/src/mongo/db/repl/repl_coordinator_impl.h
+++ b/src/mongo/db/repl/repl_coordinator_impl.h
@@ -314,6 +314,10 @@ namespace repl {
/// ============= All members below this line are guarded by _mutex ==================== ///
+ // Rollback ID. Used to check if a rollback happened during some interval of time
+ // TODO: ideally this should only change on rollbacks NOT on mongod restarts also.
+ int _rbid;
+
// list of information about clients waiting on replication. Does *not* own the
// WaiterInfos.
std::vector<WaiterInfo*> _replicationWaiterList;