summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2020-02-02 11:05:31 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-03 17:38:53 +0000
commit93cfea46d961955b795b83e8a3938df7d9746695 (patch)
tree90e34a77cc09b85bb4bb2198a87a4f890f407701 /jstests/noPassthroughWithMongod
parent7739d3935096e3ec158fba279715f16619989d6f (diff)
downloadmongo-93cfea46d961955b795b83e8a3938df7d9746695.tar.gz
SERVER-44549 Remove the mobile storage engine
mode change 100644 => 100755 buildscripts/evergreen_task_timeout.py delete mode 100644 buildscripts/resmokeconfig/suites/disk_mobile.yml delete mode 100644 src/mongo/db/storage/mobile/SConscript delete mode 100644 src/mongo/db/storage/mobile/mobile_index.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_index.h delete mode 100644 src/mongo/db/storage/mobile/mobile_index_test.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_init.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine.h delete mode 100644 src/mongo/db/storage/mobile/mobile_kv_engine_test.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_options.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_options.h delete mode 100644 src/mongo/db/storage/mobile/mobile_options.idl delete mode 100644 src/mongo/db/storage/mobile/mobile_options_mongod.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store.h delete mode 100644 src/mongo/db/storage/mobile/mobile_record_store_test.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_recovery_unit.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_recovery_unit.h delete mode 100644 src/mongo/db/storage/mobile/mobile_session.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_session.h delete mode 100644 src/mongo/db/storage/mobile/mobile_session_pool.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_session_pool.h delete mode 100644 src/mongo/db/storage/mobile/mobile_sqlite_statement.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_sqlite_statement.h delete mode 100644 src/mongo/db/storage/mobile/mobile_util.cpp delete mode 100644 src/mongo/db/storage/mobile/mobile_util.h delete mode 100755 src/third_party/scripts/sqlite_get_sources.sh delete mode 100644 src/third_party/shim_sqlite.cpp delete mode 100644 src/third_party/sqlite-amalgamation-3260000/SConscript delete mode 100644 src/third_party/sqlite-amalgamation-3260000/patches/gethostuuid.patch delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/shell.c delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3.c delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3.h delete mode 100644 src/third_party/sqlite-amalgamation-3260000/sqlite/sqlite3ext.h
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/create_indexes_waits_for_already_in_progress.js2
-rw-r--r--jstests/noPassthroughWithMongod/find_cmd.js17
2 files changed, 7 insertions, 12 deletions
diff --git a/jstests/noPassthroughWithMongod/create_indexes_waits_for_already_in_progress.js b/jstests/noPassthroughWithMongod/create_indexes_waits_for_already_in_progress.js
index ee6794780dc..8214a20ea06 100644
--- a/jstests/noPassthroughWithMongod/create_indexes_waits_for_already_in_progress.js
+++ b/jstests/noPassthroughWithMongod/create_indexes_waits_for_already_in_progress.js
@@ -13,8 +13,6 @@
* assumes_against_mongod_not_mongos,
* # Sets a failpoint on one mongod, so switching primaries would break the test.
* does_not_support_stepdowns,
- * # A write takes a global exclusive lock on the mobile engine, so two concurrent writers
- * # (index builds) are impossible.
* # The ephemeralForTest engine has collection level locking, meaning that it upgrades
* # collection intent locks to exclusive. This test depends on two concurrent ops taking
* # concurrent collection IX locks.
diff --git a/jstests/noPassthroughWithMongod/find_cmd.js b/jstests/noPassthroughWithMongod/find_cmd.js
index 7ce8e52855d..991e4b327d3 100644
--- a/jstests/noPassthroughWithMongod/find_cmd.js
+++ b/jstests/noPassthroughWithMongod/find_cmd.js
@@ -21,16 +21,13 @@ assert.eq(0, res.cursor.id);
assert.eq([], res.cursor.firstBatch);
// Ensure find command keeps cursor open if tailing a capped collection.
-// Skip the test with mobile storage engine as it doesn't support capped collections.
-if (jsTest.options().storageEngine !== "mobile") {
- coll.drop();
- assert.commandWorked(coll.getDB().createCollection(collname, {capped: true, size: 2048}));
- assert.commandWorked(coll.insert({_id: 1}));
- res = coll.runCommand("find", {tailable: true});
- assert.commandWorked(res);
- assert.neq(0, res.cursor.id);
- assert.eq([{_id: 1}], res.cursor.firstBatch);
-}
+coll.drop();
+assert.commandWorked(coll.getDB().createCollection(collname, {capped: true, size: 2048}));
+assert.commandWorked(coll.insert({_id: 1}));
+res = coll.runCommand("find", {tailable: true});
+assert.commandWorked(res);
+assert.neq(0, res.cursor.id);
+assert.eq([{_id: 1}], res.cursor.firstBatch);
// Multiple batches.
coll.drop();