summaryrefslogtreecommitdiff
path: root/db/repl/rs_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/repl/rs_sync.cpp')
-rw-r--r--db/repl/rs_sync.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/repl/rs_sync.cpp b/db/repl/rs_sync.cpp
index 331f7f68691..81312172d86 100644
--- a/db/repl/rs_sync.cpp
+++ b/db/repl/rs_sync.cpp
@@ -28,6 +28,7 @@ namespace mongo {
void startSyncThread() {
Client::initThread("rs_sync");
+ cc().iAmSyncThread();
theReplSet->syncThread();
cc().shutdown();
}