diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2020-04-14 15:48:16 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-15 21:06:42 +0000 |
commit | 75576e5e16d4fcb08c317618f37c872b1af1918f (patch) | |
tree | 652a8ec6e603a26a06ac6befad08f28f6e31dee9 /src | |
parent | eafda6eb37ce6681285a5fbc650b0c1f9b8a4924 (diff) | |
download | mongo-75576e5e16d4fcb08c317618f37c872b1af1918f.tar.gz |
SERVER-47380 Cleanup TODO
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/repl/vote_requester.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/storage/index_entry_comparison.h | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/repl/vote_requester.cpp b/src/mongo/db/repl/vote_requester.cpp index 33310a03536..561857a79ab 100644 --- a/src/mongo/db/repl/vote_requester.cpp +++ b/src/mongo/db/repl/vote_requester.cpp @@ -113,8 +113,6 @@ std::vector<RemoteCommandRequest> VoteRequester::Algorithm::getRequests() const void VoteRequester::Algorithm::processResponse(const RemoteCommandRequest& request, const RemoteCommandResponse& response) { - // TODO SERVER-45138: This function logs in both old and new log system. When we have switched - // over to JSON logs it should be cleaned up and tests that rely on this log should be fixed. ReplSetRequestVotesResponse voteResponse; Status status = Status::OK(); diff --git a/src/mongo/db/storage/index_entry_comparison.h b/src/mongo/db/storage/index_entry_comparison.h index 617a4c4c14a..802e5d4e489 100644 --- a/src/mongo/db/storage/index_entry_comparison.h +++ b/src/mongo/db/storage/index_entry_comparison.h @@ -67,11 +67,6 @@ struct IndexKeyEntry { IndexKeyEntry(BSONObj key, RecordId loc) : key(std::move(key)), loc(std::move(loc)) {} - // TODO SERVER-45138: toString() can be removed when we log to JSON only - std::string toString() const { - return str::stream() << key << ' ' << loc; - } - void serialize(BSONObjBuilder* builder) const { builder->append("key"_sd, key); loc.serialize(builder); |