diff options
author | Dwight <dwight@10gen.com> | 2012-02-07 12:42:50 -0500 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2012-02-07 12:42:50 -0500 |
commit | 27c85880962d92b187d5f71561b4e3bf7f0c62fd (patch) | |
tree | 810be3c87dbf7b2da11f36b87744fd9239d93d6d /src/mongo/db/repl.cpp | |
parent | 79b694a785a84b2394fa4699cc47e34ff888f6e2 (diff) | |
download | mongo-27c85880962d92b187d5f71561b4e3bf7f0c62fd.tar.gz |
SERVER-4328 temprelease implementation
only for global read or write (R or W) for now
asserts for granular (once that is flipped on)
Diffstat (limited to 'src/mongo/db/repl.cpp')
-rw-r--r-- | src/mongo/db/repl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl.cpp b/src/mongo/db/repl.cpp index 17120ca8b2e..f8219a0c99a 100644 --- a/src/mongo/db/repl.cpp +++ b/src/mongo/db/repl.cpp @@ -121,7 +121,7 @@ namespace mongo { if ( syncing == 0 || t.millis() > 30000 ) break; { - Lock::GlobalWrite::TempRelease t; + Lock::TempRelease t; relinquishSyncingSome = 1; sleepmillis(1); } |