diff options
author | Dwight <dwight@10gen.com> | 2010-08-03 12:06:50 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2010-08-03 12:06:50 -0400 |
commit | 7c48f85a2b806030edd38cbde286d564d24be14d (patch) | |
tree | f2b5a6c7103452a20cba4584e0f997ba12c8502d /jstests | |
parent | bf8be2f5e3dafdddaa1bd14ce9d47e8e7b275e0f (diff) | |
download | mongo-7c48f85a2b806030edd38cbde286d564d24be14d.tar.gz |
new test
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/rollback2.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/replsets/rollback2.js b/jstests/replsets/rollback2.js index 0c7d26824bc..92016b46dcd 100644 --- a/jstests/replsets/rollback2.js +++ b/jstests/replsets/rollback2.js @@ -50,7 +50,9 @@ function doItemsToRollBack(db) { t.insert({ q: 4 });
t.update({ q: 3 }, { q: 3, rb: true });
t.update({ q: 2 }, { q: 39, rb: true });
- // t.remove({q:1});
+
+ // rolling back a delete will involve reinserting the item(s)
+ t.remove({q:1});
}
function doWritesToKeep2(db) {
|