diff options
author | Waley Chen <waleycz@gmail.com> | 2016-06-13 18:18:20 -0400 |
---|---|---|
committer | Waley Chen <waleycz@gmail.com> | 2016-06-13 18:18:20 -0400 |
commit | 710159c9602a6738e6455cfb26bc2d70a0454ae2 (patch) | |
tree | 7293a0905a63ac8c0280704578926d7635c6a89c /src/mongo/db/commands/clone_collection.cpp | |
parent | 2bf2c9d2d5de6ff8136bfe9ca30346300deadb13 (diff) | |
download | mongo-710159c9602a6738e6455cfb26bc2d70a0454ae2.tar.gz |
SERVER-23243 Remove time-keeping from listener
Diffstat (limited to 'src/mongo/db/commands/clone_collection.cpp')
-rw-r--r-- | src/mongo/db/commands/clone_collection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/clone_collection.cpp b/src/mongo/db/commands/clone_collection.cpp index b8b475b6926..76ef1377673 100644 --- a/src/mongo/db/commands/clone_collection.cpp +++ b/src/mongo/db/commands/clone_collection.cpp @@ -122,7 +122,7 @@ public: { HostAndPort h(fromhost); - if (repl::isSelf(h)) { + if (repl::isSelf(h, txn->getServiceContext())) { errmsg = "can't cloneCollection from self"; return false; } |