diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-01-23 14:35:51 -0500 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-01-23 14:35:51 -0500 |
commit | 52f8f4d7639219f12bf696f0538bc13af04a3708 (patch) | |
tree | c72bea4c9ca083472e2edfbe611b8a69355c12cc /src | |
parent | 84ca21e55efe1bdf97380caaa10079b613f00cac (diff) | |
download | mongo-52f8f4d7639219f12bf696f0538bc13af04a3708.tar.gz |
SERVER-27783 Removed unnecessary lock in SyncSourceFeedback
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/repl/sync_source_feedback.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.cpp b/src/mongo/db/repl/sync_source_feedback.cpp index c384fe6cf9b..0778c407948 100644 --- a/src/mongo/db/repl/sync_source_feedback.cpp +++ b/src/mongo/db/repl/sync_source_feedback.cpp @@ -85,7 +85,6 @@ Reporter::PrepareReplSetUpdatePositionCommandFn makePrepareReplSetUpdatePosition } } - stdx::lock_guard<stdx::mutex> lock(mtx); auto replCoord = repl::ReplicationCoordinator::get(txn); if (replCoord->getMemberState().primary()) { // Primary has no one to send updates to. |