diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-07-25 16:59:49 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-07-27 15:17:45 -0400 |
commit | b4549a63371f9b108e8d7042731c9f1eec622004 (patch) | |
tree | d3c7208aae0efe324b4301680c20bf872946eecb /src/mongo/db/repl/repl_set_request_votes_args.h | |
parent | 2f358ee8e4ca9f6b5a92e4face04246117dea8c4 (diff) | |
download | mongo-b4549a63371f9b108e8d7042731c9f1eec622004.tar.gz |
SERVER-32906 Improve logging around elections
Diffstat (limited to 'src/mongo/db/repl/repl_set_request_votes_args.h')
-rw-r--r-- | src/mongo/db/repl/repl_set_request_votes_args.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/repl_set_request_votes_args.h b/src/mongo/db/repl/repl_set_request_votes_args.h index 7f1cf3bc72e..cc8d3f9e270 100644 --- a/src/mongo/db/repl/repl_set_request_votes_args.h +++ b/src/mongo/db/repl/repl_set_request_votes_args.h @@ -50,6 +50,7 @@ public: bool isADryRun() const; void addToBSON(BSONObjBuilder* builder) const; + std::string toString() const; private: std::string _setName; // Name of the replset. @@ -75,6 +76,7 @@ public: void addToBSON(BSONObjBuilder* builder) const; BSONObj toBSON() const; + std::string toString() const; private: long long _term = -1; |