0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

49235 Commits

Author SHA1 Message Date
Daniel Gottlieb
d471957fc3 SERVER-43859: Take MODE_IX locks for collection creation.
Two concurrent storage transactions can now create collections with the same
collection name. These transactions will conflict at commit time; the first
committer will win and register their collection into the global catalog. The
losing transactions will bubble a WriteConflictException.

Top-level callers that should fail if the collection already existed must now
check and fail with a NamespaceExists error code. Previously, those callers
could rely on lower level code returning the NamespaceExists error.

Callers that were implicitly creating a collection may retry the operation,
using the now-registered collection.

These transaction-local collections (UncommittedCollections) are returned when
doing any CollectionCatalog::lookup* call.
2019-11-26 04:48:50 +00:00
Kevin Pulo
8b0f534a70 SERVER-44470 Parse aggregation commands earlier, and rationalize aggregation readConcern handling 2019-11-26 03:23:07 +00:00
David Percy
34e093782f SERVER-44327 Add $first and $last expressions 2019-11-25 23:27:59 +00:00
Haley Connelly
c9f191afba SERVER-44509 Make isMaster wait for up to maxAwaitTimeMS 2019-11-25 22:38:33 +00:00
Gabriel Russell
a29cb7d084 SERVER-44142 correctly utilize LogSeverity in logv2 2019-11-25 22:16:49 +00:00
Eric Milkie
bd31dd168c SERVER-44127 abort ops that encounter a catalog conflict after already locking in a read snapshot 2019-11-25 20:12:40 +00:00
Matthew Russotto
077c58726a SERVER-44809 When we wait for the cloners, we also must deliver the callback to the network thread. 2019-11-25 20:00:51 +00:00
Jason Chan
5c86d41207 SERVER-44702 Add ability to configure num replica set nodes and linear chaining through command line. 2019-11-25 19:48:23 +00:00
Benety Goh
96be927c23 SERVER-44822 update indexing tests to avoid slow op logging 2019-11-25 19:35:40 +00:00
Vlad Rachev
89f957a37e SERVER-44795 Decrease number of initial sync fuzzer tests generated per task 2019-11-25 19:23:02 +00:00
Cheahuychou Mao
dff47de5ef SERVER-44764 Test zone changes with compound shard key 2019-11-25 19:10:47 +00:00
Jason Chan
e5875e47cc SERVER-44779 Invariant internal operations that hit a prepareConflict must be marked killable 2019-11-25 18:58:43 +00:00
Zakhar Kleyman
5fd606739e SERVER-44606 fix debian10 repo path 2019-11-25 18:33:39 +00:00
Samyukta Lanka
08a6ba068b SERVER-43783 Describe how recovery works with transactions in the Repl Architecture Guide 2019-11-25 18:12:46 +00:00
Matthew Saltz
6b24eefb15 SERVER-43690 Change range deleter code to use collection UUID instead of epoch to detect collection drops/recreates 2019-11-25 17:10:40 +00:00
Henrik Edin
c9875ca948 SERVER-44625 Add formatting of BSON native types via BSONObjBuilder::append. 2019-11-25 16:14:00 +00:00
Benety Goh
9bb0231ccb SERVER-44784 disable two phase index builds when majority reads are off 2019-11-25 15:47:48 +00:00
Carl Worley
91fc73a60e “SERVER-44810 2019-11-25 14:06:43 +00:00
Sara Golemon
d455f65337 SERVER-44674 Dead Code Removal: macOS/Windows support in OpenSSL 2019-11-22 23:56:44 +00:00
David Storch
f30d13a1c3 SERVER-44793 Tag index_bounds_maxkey.js as 'requires_fcv_44'.
This tests behavior which was implemented under
SERVER-35921.
2019-11-22 22:03:43 +00:00
Mihai Andrei
9f1e78ea0a SERVER-44583 M/R Agg: Add explain support for mapReduce command 2019-11-22 21:27:40 +00:00
David Percy
44497e0e5c SERVER-44802 Mark change_streams/required_as_first_stage.js as required_fcv_44 2019-11-22 21:14:55 +00:00
Nicholas Zolnierz
48e000e16f SERVER-44793 Add 'requires_fcv_44' tag to find_projection_meta_errors.js, id_partial_projection.js, and notablescan.js 2019-11-22 21:02:43 +00:00
Ian Boros
1839b275a5 SERVER-44793 add requires_fcv_44 tag to query tests in core 2019-11-22 20:50:51 +00:00
David Percy
147b4b3ac2 SERVER-44799 Mark SERVER-35921 as backports_required_for_multiversion_tests 2019-11-22 20:34:42 +00:00
Carl Worley
6c803a6704 SERVER-19895 resmoke failures should self-document 2019-11-22 20:16:40 +00:00
Cheahuychou Mao
eeae1d133c SERVER-44695 Make removeShard throw an error if the shard is the only shard that a zone belongs to 2019-11-22 20:03:39 +00:00
James Wahlin
3901a5830f SERVER-44798 Add requires_fcv_44 as required to Query concurrency jstests to address multiversion failure 2019-11-22 19:48:35 +00:00
Anton Oyung
38e02331ac SERVER-44600: Test zone shard key validation 2019-11-22 19:36:46 +00:00
David Storch
728aaa3ee1 SERVER-44793 Add 'requires_fcv_44' tag to apitest_dbcollection.js
This tests the "totalSize" field of the collStats command,
which was added in 4.3.1 by SERVER-16917.
2019-11-22 19:23:01 +00:00
Ian Boros
542f5d2c14 SERVER-44794 Add requires_fcv_44 tag to tests using returnKey 2019-11-22 19:10:44 +00:00
Matthew Saltz
9d6f438e6c SERVER-44161 Add migration UUID to StartChunkCloneRequest 2019-11-22 18:58:48 +00:00
Benety Goh
dfe9a2f877 SERVER-44785 replace two_phase_index_builds_unsupported tag with active check 2019-11-22 18:46:41 +00:00
James Wahlin
acb2b88d9e SERVER-44793 Add requires_fcv_44 as required to Query core jstests to address multiversion failure 2019-11-22 18:33:23 +00:00
Marcos José Grillo Ramírez
11754f469d SERVER-44476 Include number of jumbo chunks remaining in output of removeShard 2019-11-22 17:49:19 +00:00
Haley Connelly
c72849fb00 SERVER-44508 Add maxAwaitTimeMS and topologyVersion to isMaster Command 2019-11-22 16:50:50 +00:00
Anton Oyung
e023b4c6e2 SERVER-44667: Skip checking UUID for shut down mongod and Update test case to account for refreshing connections 2019-11-22 16:37:13 +00:00
Benety Goh
9c3d82ef74 SERVER-44742 add supportsTwoPhaseIndexBuild to storageEngine server status section 2019-11-22 15:50:51 +00:00
Matthew Saltz
a1b22dc7e5 SERVER-44161 Add update() to PersistentTaskStore 2019-11-22 15:18:49 +00:00
Matthew Saltz
2de5240b9f SERVER-44161 Remove cleanupOrphaned tests pending new implementation 2019-11-22 15:06:30 +00:00
Benety Goh
a94c8741d6 SERVER-43642 move IndexLegacy::adjustIndexSpecObject() into IndexCatalogImpl implementation 2019-11-22 11:18:43 +00:00
A. Jesse Jiryu Davis
e40ac3ae0c SERVER-43001 Remove old TODOs in oplog application 2019-11-22 02:01:43 +00:00
A. Jesse Jiryu Davis
355937f48d SERVER-43000 Rename OpQueueBatcher to OplogBatcher 2019-11-22 01:47:10 +00:00
Cheahuychou Mao
48c3f738be SERVER-44760 Test that the balancer splits and moves chunks when zone ranges do not align with chunk bounds in hashed sharding 2019-11-21 22:48:59 +00:00
Louis Williams
300458bb1e SERVER-44467 Implement startup recovery for two-phase index builds 2019-11-21 22:36:46 +00:00
Ian Boros
92d0ebf34f SERVER-14466 test use of DBRef fields in aggregation and find() expressions 2019-11-21 21:47:37 +00:00
Blake Oler
da88c83317 SERVER-43526 Re-enable commented test case in restart_transactions.js 2019-11-21 21:35:43 +00:00
A. Jesse Jiryu Davis
a29b23f30c SERVER-43000 Rename OpQueue to OplogBatch 2019-11-21 21:16:50 +00:00
Andrew Morrow
b336760865 SERVER-44687 Enforce macOS 10.12 target minimum 2019-11-21 21:04:00 +00:00
James Wahlin
fe788b0989 SERVER-44635 MR in Agg: Remove in-line mapReduce execution statistics 2019-11-21 20:51:49 +00:00