diff options
-rw-r--r-- | src/mongo/s/d_migrate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/d_migrate.cpp b/src/mongo/s/d_migrate.cpp index 0563915a4bb..42c57f81a30 100644 --- a/src/mongo/s/d_migrate.cpp +++ b/src/mongo/s/d_migrate.cpp @@ -294,7 +294,7 @@ namespace mongo { } void done() { - Lock::DBRead lk( _ns ); + Lock::DBWrite lk( _ns ); { scoped_spinlock lk( _trackerLocks ); |