summaryrefslogtreecommitdiff
path: root/jstests/sharding/features3.js
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-07-31 14:23:06 -0400
committerRandolph Tan <randolph@10gen.com>2014-08-06 14:50:50 -0400
commit82dfdf0e635bd096e5f12180b550f9899b272692 (patch)
treed83becd5200caabe4603c9e1a89f312669310ba4 /jstests/sharding/features3.js
parentd1ea3910fc9acd03a4964a66ff9b27ef1112a5c5 (diff)
downloadmongo-82dfdf0e635bd096e5f12180b550f9899b272692.tar.gz
SERVER-14745 Remove WritebackListener
Diffstat (limited to 'jstests/sharding/features3.js')
-rw-r--r--jstests/sharding/features3.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/jstests/sharding/features3.js b/jstests/sharding/features3.js
index 58efd44ceac..90a4cec6479 100644
--- a/jstests/sharding/features3.js
+++ b/jstests/sharding/features3.js
@@ -156,27 +156,4 @@ assert(x.ok == 1 && x.numFiles > 0, "fsync failed: " + tojson(x));
x = db._adminCommand({"fsync" :1, lock:true});
assert(!x.ok, "lock should fail: " + tojson(x));
-// write back stuff
-// SERVER-4194
-
-function countWritebacks(curop) {
- print("---------------");
- var num = 0;
- for (var i = 0; i < curop.inprog.length; i++) {
- var q = curop.inprog[i].query;
- if (q && q.writebacklisten) {
- printjson(curop.inprog[i]);
- num++;
- }
- }
- return num;
-}
-
-x = db.currentOp();
-assert.eq(0, countWritebacks(x), "without all");
-
-x = db.currentOp(true);
-y = countWritebacks(x);
-assert(y == 1 || y == 2, "with all: " + y);
-
s.stop()