Commit Graph

52 Commits

Author SHA1 Message Date
Ian Boros 68df73a1d0 SERVER-46863 prevent collator mismatch in findAndModify/update
(cherry picked from commit f105232d65)
2020-03-31 20:55:42 +00:00
Andrew Morrow 93cfea46d9 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
2020-02-03 17:38:53 +00:00
Jacob Evans 57acc8b666 SERVER-44475 Remove Query Knob 2019-12-11 21:33:49 +00:00
Anton Korshunov 5215876fa4 SERVER-44982 Blacklist jstests/core/collation.js from multiversion suites 2019-12-06 18:44:49 +00:00
James Wahlin 39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +00:00
clang-format-7.0.1 134a408395
SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Xin Hao Zhang 5c9f7fb5d3 SERVER-36186 Default to the the oplogreplay optimization path for oplog collections 2019-07-24 08:09:43 -04:00
William Schultz 285c39607e SERVER-39576 Remove the 'doTxn' command 2019-07-02 17:27:17 -04:00
Allison Easton 45138bb6ba SERVER-41303 Split jscore tests that run mapReduce but do not specifically test mapReduce into two 2019-06-10 16:01:34 -04:00
Misha Ivkov e67db1f1c5 SERVER-40546 max/min boundary checking on both 2019-06-07 15:30:36 -04:00
Lingzhi Deng 8a89b076d2 SERVER-40938: disallow afterClusterTime and ignore prepare conflicts for dbhash and map-reduce 2019-05-23 16:46:30 -04:00
Ian Boros 502df279c7 SERVER-39567 Change find min/max options to require hint 2019-04-11 18:34:10 -04:00
Anton Korshunov d47bbc343a SERVER-24860 Optimize away entire pipeline if it can be answered using a query 2019-04-03 12:19:22 +01:00
Jacob Evans 41557fac17 SERVER-38695 Make QuerySolutionNode subclasses for projection fast-paths 2019-01-29 13:53:10 -05:00
Maria van Keulen 88a8b7b31c SERVER-36257 Remove copyDB and clone commands 2018-08-07 14:26:55 -04:00
Cheahuychou Mao 3e632d5ed0 SERVER-35580 Remove ReIndexCmd from mongos 2018-06-28 14:10:40 -04:00
Kyle Suarez 7bc7864fc0 SERVER-35043, SERVER-22949: move geoNear implementation into aggregation
This commit removes the geoNear command and moves its implementation
into the aggregation framework. Users should use the aggregate command
with a $geoNear stage.

The implementation rewrite additionally removes the limit in the
$geoNear aggregation stage. To limit the number of results, use a $limit
stage.
2018-06-18 23:34:49 -04:00
Sulabh Mahajan e361973f0e SERVER-33605 Mobile SE:Disable capped collections and related testing 2018-06-08 14:34:55 +10:00
Kyle Suarez 190fc58164 SERVER-28524 remove group command
Users should use the aggregation $group stage instead.
2018-05-30 09:45:28 -04:00
Dianna Hohensee 4094162bbe SERVER-34991 JS tests doing transaction operations must use majority writeConcern for drops 2018-05-25 12:11:06 -04:00
Matthew Russotto f939177a8d SERVER-33658 Disable transaction tests on storage engines without document-level locking 2018-03-05 14:30:54 -05:00
Matthew Russotto ae68272979 SERVER-32320 Push doTxn oplog entry generation into logOp on transaction commit. 2018-03-01 08:27:54 -05:00
Siyuan Zhou a403f49731 SERVER-33023 Disable transaction on MMAPv1.
This reverts commit 4232d7725f.
2018-02-01 12:00:35 -05:00
Charlie Swanson 87c9442cc3 SERVER-31785 Use 2 shards in sharded jscore passthrough. 2018-01-19 09:55:59 -05:00
Matthew Russotto 55be4faf62 SERVER-32162 Create a doTxn command 2017-12-20 13:37:47 -05:00
Jack Mulrow 00d92ece19 SERVER-31194 Add jscore tags for retryable_writes_jscore_stepdown_passthrough.yml suite
The actual suite will come in a follow-up commit.
2017-12-07 14:36:15 -05:00
Tess Avitabile cb9f7cdcb7 SERVER-30731 Add expr support in MatchExpression outside of aggregation 2017-10-05 16:47:26 -04:00
Geert Bosch 83007991e9 SERVER-28533 Have collation.js ignore UUIDs in CollectionInfo comparison 2017-03-29 11:55:01 -04:00
Eddie Louie 9fc1ecd711 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a.
2017-03-23 14:07:50 -04:00
Randolph Tan fb956b3b0a Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
This reverts commit 56e66454d1.

Conflicts:
	buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
2017-03-23 13:56:21 -04:00
Eddie Louie 56e66454d1 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
in sharded cluster environments.
2017-03-15 19:19:49 -04:00
Tess Avitabile 89d37b751c SERVER-28017 ne should respect the collection default collation 2017-02-16 09:33:13 -05:00
Tess Avitabile 446ac64ff4 SERVER-27525 Use test-specific database to test convertToCapped with collation 2017-01-11 11:40:57 -05:00
Tess Avitabile 1a940972e9 SERVER-26513 listCollections output should include _id index spec as idIndex 2016-10-18 16:56:19 -04:00
Max Hirschhorn 8302d0735b SERVER-24033 Write full index spec in oplog entry for index creation.
This ensures that the index version (aka the "v" field) is always
present in the oplog entry when creating indexes on a 3.4 primary.
We can therefore assume that if the "v" field isn't present in the
corresponding oplog entry, then a v=1 index should be built.

Changes MultiBlockIndex::init() to return the index specifications
that were actually created.

The "repairDatabase", "compact", "copydb", and "cloneCollection"
commands no longer automatically upgrade the index version to the
current default version. Instead, the only command that does so is
the "reIndex" command.
2016-09-14 20:49:17 -04:00
Max Hirschhorn 071065a296 SERVER-25156 Add support for building v=2 indexes.
We use index version v=2 as the default index version when the
featureCompatibilityVersion is 3.4, and we use index version v=1 as the
default index version when the featureCompatibilityVersion is 3.2.

The "collation" index option can only be used with v=2 indexes.
2016-09-07 17:37:46 -04:00
David Storch bc8096859c SERVER-24401 allow DISTINCT_SCAN plans over collator comparison keys 2016-08-18 17:46:12 -04:00
David Storch e7b0ba5c67 SERVER-23093 avoid extra predicate evaluation for indexed collation-aware queries 2016-08-15 15:19:41 -04:00
David Storch 2464cdaf2a SERVER-24621 make find command min/max respect the collation 2016-07-29 15:13:24 -07:00
Max Hirschhorn 541d4ee893 SERVER-24534 Add tests for cloning collections w/ non-simple collations.
Tests that the "cloneCollection", "cloneCollectionAsCapped",
"convertToCapped", and "copydb" commands inherit the default collation
of the corresponding collection.
2016-07-27 09:46:39 -04:00
David Storch 60379c1daa SERVER-25136 allow index types which do not support collation on a collection with a non-simple default collation
The application must use {locale: "simple"} to override the
default in this case.
2016-07-20 16:22:05 -04:00
Tess Avitabile 99d405ae81 SERVER-23924 Make _id index inherit the collection's default collation 2016-07-08 10:16:56 -04:00
Tess Avitabile 46ee3c59c9 SERVER-24182 Add collation-related information to explain output 2016-07-05 09:55:32 -04:00
David Storch a7dc0fd86e SERVER-24405 enable collation.js in sharding passthrough suites 2016-06-22 21:04:42 -04:00
Tess Avitabile e232de4507 SERVER-23690 Make applyOps command use the collection default collation 2016-06-22 13:14:24 -04:00
David Hatch 0f6df2c866 SERVER-24279 Properly add sort when index does not respect query collation. 2016-06-17 18:09:03 -04:00
David Storch 8ca23764d4 SERVER-23761 set NR feature bit for collation
This will ensure downgrade fails after creating collections or indices
with a non-simple collation.
2016-06-15 09:58:59 -04:00
J. Rassi 2bf2c9d2d5 SERVER-23611 Collection-default jstests for collation-aware ops 2016-06-13 17:58:29 -04:00
David Storch 72b444d283 SERVER-24183 persist collation version string in catalog metadata
Also add an fassert() which trips if the icu::Collator attached to a
collection or index has a version string which does not match the
version string persisted in the catalog. This will ensure that the
icu::Collator always matches the collator used when the index was
initially constructed.

The collation's version string is simply the ICU release number. All
collations should currently be version 57.1.
2016-06-10 18:43:23 -04:00
J. Rassi 3a22c60455 SERVER-23611 Add collation tests for non-existent collections 2016-06-06 16:50:55 -04:00