diff options
author | Dwight <dmerriman@gmail.com> | 2010-01-04 16:37:28 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2010-01-04 16:37:28 -0500 |
commit | 755804209e4dcb17beb0895305310289504296ad (patch) | |
tree | bbaef35dc44d4ceb6fde6dac451f0826987b011c /jstests/fsync.js | |
parent | 3cec831af71e75e24234a68c036aba1753f746dd (diff) | |
download | mongo-755804209e4dcb17beb0895305310289504296ad.tar.gz |
SERVER-519
changed how we unlock - greediness of writers was a problem
Diffstat (limited to 'jstests/fsync.js')
-rw-r--r-- | jstests/fsync.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/fsync.js b/jstests/fsync.js index 4097bc65f10..9afb7fb1890 100644 --- a/jstests/fsync.js +++ b/jstests/fsync.js @@ -12,7 +12,7 @@ assert(x.ok,"C"); y = d.currentOp(); assert(y.fsyncLock,"B"); -z = d.runCommand({unlock:1}); +z = d.$cmd.sys.unlock.findOne(); // it will take some time to unlock, and unlock does not block and wait for that // doing a write will make us wait until db is writeable. |