diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-09-26 13:54:59 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-09-26 13:54:59 -0400 |
commit | e90f530a1f03490743bb66481e0011c72adaab53 (patch) | |
tree | 5f6bb8655a3066868d71205f51034230287ee049 /src/mongo/db/repl/optime.cpp | |
parent | 726e5544108d7ef417de351d103f52c028feae3b (diff) | |
download | mongo-e90f530a1f03490743bb66481e0011c72adaab53.tar.gz |
SERVER-28794 Only use PV0 style heartbeats when choosing to use PV0
Diffstat (limited to 'src/mongo/db/repl/optime.cpp')
-rw-r--r-- | src/mongo/db/repl/optime.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/optime.cpp b/src/mongo/db/repl/optime.cpp index d5d0c316ece..9c63e0a7e88 100644 --- a/src/mongo/db/repl/optime.cpp +++ b/src/mongo/db/repl/optime.cpp @@ -41,6 +41,7 @@ namespace repl { const char OpTime::kTimestampFieldName[] = "ts"; const char OpTime::kTermFieldName[] = "t"; +const long long OpTime::kInitialTerm = 0; // static OpTime OpTime::max() { |