summaryrefslogtreecommitdiff
path: root/src/mongo
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-61633 Join _oplogFetcherExecutor in resharding recipient at exit.Max Hirschhorn2021-11-204-3/+16
| | | | | | | | | Also corrects the 5.0 backport of 1bd1c4f6a0d571443a80c52d1b3f284a0c078af4 from SERVER-59812 and leaves the ReshardingMetrics intact until the resharding data replication components have quiesced. (cherry picked from commit 34cac37ac5a61946aae9d149c8cb2f1d109e7320)
* SERVER-54909 Report last durable and last applied operation wall times for ↵Vesselina Ratcheva2021-11-191-0/+5
| | | | | | all members in replSetGetStatus (cherry picked from commit 0cceba6f04b95f3652de84c2f1f4ab2a644dba6e)
* SERVER-61039 Make sharded time-series listIndexes report the view's namespaceArun Banala2021-11-181-1/+1
| | | | | (cherry picked from commit e2089fc73a76db6bcf2ca2729e7e886258d3ad2f) (cherry picked from commit c80ff81b19a3c5d28892c02f380e8c12ad0a0253)
* SERVER-60632 return NamespaceExists from mongos when dropTarget=falsePierlauro Sciarelli2021-11-182-2/+2
|
* SERVER-58636 Allow initial syncing nodes to see entries from uncommitted ↵Vesselina Ratcheva2021-11-177-0/+122
| | | | | | batches on secondaries (cherry picked from commit 4a230c070cb187604d07d04598a912b4feca937d)
* SERVER-61483 Fix resharding coordinator to recover its abort decision.Max Hirschhorn2021-11-171-0/+5
| | | | (cherry picked from commit d9fcd9f124ece9ab0b3a3c46cb6d7052b7282dd2)
* SERVER-61482 Avoid resharding holding open an oplog hole on configsvr.Max Hirschhorn2021-11-171-7/+19
| | | | (cherry picked from commit 2d3592d80fb851e00b519bfeeea513aaff6d0c95)
* SERVER-61473 Make ReshardingMetrics::onCompletion() idempotent.Max Hirschhorn2021-11-162-0/+12
| | | | | | | ReshardingMetrics::onCompletion() can be called multiple times within the resharding::WithAutomaticRetry blocks of the ReshardingCoordinator. (cherry picked from commit 5d18bd88c941964e19622282cd040eadbb0db23d)
* SERVER-59806 Change upsert for insert when writing chunks in create sharded ↵Marcos Jose Grillo Ramirez2021-11-151-33/+30
| | | | | | collection path (cherry picked from commit bdc2e9b2ed299f4dfbf6183eed94707afbde8478)
* SERVER-60946 Retry NotWritablePrimary error when initiating replset to ↵Wenbin Zhu2021-11-121-1/+3
| | | | | | handle concurrent priority takeover. (cherry picked from commit d2d7164bb02fff924ac787f6d422dffb22ef0b94)
* SERVER-51329: Fix Unexpected non-retryable error when shutting down aKshitij Gupta2021-11-123-6/+11
| | | | (cherry picked from commit 651f4a692aa59353954d3cd18ec3572fa9bf48aa)
* SERVER-59719 Ensure resharding commit/abort completes before verifyingBrett Nawrocki2021-11-115-31/+28
| | | | | | | | | | | | | | | | | | ShardsvrCommitReshardCollectionCommand's commit() call and ShardsvrAbortReshardCollectionCommand's abort() call each perform a write which will trigger the state document to be deleted on the donor and recipient. To verify this is done, those commands perform a read to check if the state documents still exist. Now that the RSTL is not acquired during reads, it is not guaranteed that the command's opCtx will be interrupted when performing a read despite calling setAlwaysInterruptAtStepDownOrUp(). As a consequence, it is possible for the command's write to have been interrupted due to a step down on the donor/recipient, causing the document to still exist during the verification read and triggering a uassert. To resolve this issue, the commands now do a no-op write before the verification read, ensuring that the first write has indeed completed without being interrupted. (cherry picked from commit cca75006b85690faa641a15dfc9940d2a2add52d)
* SERVER-54776 Enable feature flag for time-series metaField-only updates and ↵Gregory Noma2021-11-101-1/+2
| | | | deletes
* SERVER-61309 Fix time-series bucket lock reacquisition logicDan Larkin-York2021-11-104-122/+129
|
* SERVER-59858 Add observability for tasks scheduled on reactor threadsAmirsaman Memaripour2021-11-0925-10/+534
| | | | (cherry picked from commit 5df159a364ec3a94d1e1ae01c70e3ca33cb10b4f)
* SERVER-58736 Add BatchedCollectionCatalogWriter classHenrik Edin2021-11-095-0/+205
| | | | | | | | Allows multiple writes to be performed on the CollectionCatalog while reusing a single copy of the CollectionCatalog instance. Used when opening the catalog to avoid quadratic behavior in the number of Collections in the catalog. (cherry picked from commit 67ef8cd1ed3d15cee09de7905f7ba9fedfba176d)
* SERVER-57171 Make the killop test more resilientAmirsaman Memaripour2021-11-081-38/+42
| | | | (cherry picked from commit 3a48403f63ed65e076e0cd44cccf0f89123f8e86)
* SERVER-59329: Make sure that withTemporaryOperationContext throw an e...Kshitij Gupta2021-11-081-72/+92
|
* SERVER-57164 isVariableReference includes system variablesDavid Percy2021-11-082-3/+17
| | | | | | This fixes an invariant failure in DocumentSourceGroup. (cherry picked from commit 2f4c2c6bdca301934d32a9f3a1f6fc76946f7b11)
* SERVER-61027 Add permitMigration flag to prevent balancer rounds and ↵Marcos José Grillo Ramirez2021-11-084-2/+14
| | | | | | migrations commit (cherry picked from commit 9b27d9c7582ca544b0c27b119107b57b4e2b8d50)
* SERVER-60762 Error when partitionBy is a constant arrayDavid Percy2021-11-041-2/+6
|
* SERVER-59432 tassert for group system var optimizeJacob Evans2021-11-042-2/+11
| | | | (cherry picked from commit 5cf8a293567989fcc970fb21cde4a1af111c8b58)
* SERVER-59924 Error executing aggregate with $out with "available" read ↵Eric Cox2021-11-049-102/+34
| | | | concern on sharded clusters
* SERVER-61066 Make shardsvr DDL commands check primary status after marking ↵Jordi Serra Torrens2021-11-044-0/+31
| | | | opCtx as interruptible
* SERVER-59662 Test killing time-series insertsGregory Noma2021-11-033-21/+26
| | | | (cherry picked from commit 9e931d09ba9a1269bf11a689e06e56f61dab7e21)
* SERVER-60424 Have TenantOplogFetcher recreate cursors with initial maxTimeoutJason Chan2021-11-031-1/+5
| | | | (cherry picked from commit 9c229633f98be337d0fe676c2b4b7b1aa5cf4f61)
* SERVER-60518 Best effort checks in range deleter must not leave orphansr5.0.4-rc0r5.0.4Pierlauro Sciarelli2021-11-033-96/+86
|
* SERVER-57700 Measure latency/throughput of ↵Matt Walak2021-11-035-49/+116
| | | | | | resharding::data_copy::fillBatchForInsert in ReshardingCollectionCloner::doOneBatch (cherry picked from commit 98a21127ae4957594276a35228a95d8d79d6ad25)
* SERVER-57697 Measure latency/throughput of ReshardingOplogApplier::_applyBatchMatt Walak2021-11-034-5/+120
| | | | (cherry picked from commit dd6bc197f73bf0f40234db2be02efc76560693df)
* SERVER-59925 Stress test time-series insertsGregory Noma2021-11-023-5/+15
| | | | (cherry picked from commit cf80c11bc5308d9b889ed61c1a3eeb821839df56)
* SERVER-60869 Re-add logic to set feature compatibility version on arbitersali-mir2021-11-021-0/+9
| | | | (cherry picked from commit f094005b0b8a878bc039ddae540b8696f70848f7)
* SERVER-53335 Queries, updates, and deletes with non-"simple" collations may ↵Jason Zhang2021-11-023-4/+23
| | | | miss documents when using hashed sharding
* SERVER-59505 Fix TS pushdown predicate to capture variable typesamontea2021-11-027-61/+197
| | | | measurements
* SERVER-61094 Use a dedicated pooled KeyString builder per indexHenrik Edin2021-11-0213-60/+91
| | | | | | | | | This avoids underlying SharedBuffer to be shared for KeyString for separate indexes. Allows indexes that need to spill to disk to independently free memory instead of being pinned by unrelated other indexes. (cherry picked from commit 5d1078c60e8f24e027dc72d7ceeac4dab49908b9)
* SERVER-58960 Add benchmarks to measure the overhead from ShardingWriteRouter ↵Luis Osta2021-11-016-4/+381
| | | | on the write codepath
* SERVER-61108 Remove wtimeout from resharding coordinator write concernLuis Osta2021-11-011-10/+9
| | | | (cherry picked from commit b2531ed72eb81c7a9e4951e4aab93c7d190d3023)
* Revert "SERVER-60081 Make ChunkVersion::IGNORED not consider the migration ↵Kaloian Manassiev2021-10-311-12/+13
| | | | | | critical section" This reverts commit a83b0c692c886a595b27358fc5eb585547e0297a.
* SERVER-61052 Remove wtimeout from resharding write concernLuis Osta2021-10-292-2/+11
|
* SERVER-61096 ResetDbPath sometimes errors while recreating dbpath on WindowsRichard Samuels2021-10-291-1/+14
| | | | (cherry picked from commit e8aafb99f494c29e6ed05e3696a9cd2bb6b3ea5b)
* SERVER-59934 Take a MODE_X collection lock when dropping regular viewsPavi Vetriselvan2021-10-291-1/+4
| | | | (cherry picked from commit 45bc7a2c06d788a2fddc8601450d4a1fb8dbf489)
* SERVER-57131: BACKPORT-11036 Fix trivial race in topology_listener_testAndrew Shuvalov2021-10-291-2/+1
|
* SERVER-60511 getPinnedOplog return value should always be std::min compared ↵Dianna Hohensee2021-10-291-1/+1
| | | | | | with the pinned timestamp (cherry picked from commit 4635c1f58339cbe754ffd908a16e8d6ebe7aa5a0)
* SERVER-59883 suppress deprecation message with quiet flagZituo Jin2021-10-291-10/+10
| | | | (cherry picked from commit 2861a64889384880a2f25c93fa3e7ced80805b0d)
* SERVER-59965 Limit max time wait behind critical section during filtering ↵Jordi Serra Torrens2021-10-282-4/+33
| | | | | | metadata refresh in txn (cherry picked from commit 02add56a2100bef135281938a0cadaf374279f03)
* SERVER-55412 shardVersion propogated for mirrored readsAlex Li2021-10-286-37/+163
| | | | (cherry picked from commit 03364be4054d3d411c55a5b712e3d0733865eecd)
* SERVER-60916 Attempt to reload ShardRegistry in resharding coordinator.Max Hirschhorn2021-10-281-1/+1
| | | | | | | | The ARS (AsyncRequestSender) calls ShardRegistry::getShardNoReload() and can therefore throw a ShardNotFound exception when the ShardRegistry is still initializing. (cherry picked from commit dd41a99e2c177d5bd3a38229d85458117480c5d9)
* SERVER-59159 Update $min/max window functions to ignore null values to match ↵Mihai Andrei2021-10-282-0/+38
| | | | their accumulator counterparts (cherry picked from commit ba83473ade3ee39cd9053ed3b2b3bf3e5f64ba28) (cherry picked from commit 2704db5962489e679e2cc8f3556a0c10482271ad)
* SERVER-60730 shardsvrDropDatabase should always join existing coordinatorAllison Easton2021-10-282-2/+22
| | | | (cherry picked from commit 0bd0ddfb1d6875c3ce4390d30e0566b107256f29)
* SERVER-61026 Invert order of shards receiving drop collection participant ↵Pierlauro Sciarelli2021-10-282-7/+12
| | | | command
* SERVER-60731 Postpone database critical section release in drop database ↵Allison Easton2021-10-282-2/+43
| | | | | | coordinator (cherry picked from commit 20043571a6f3f081073a14a8655971a479f44461)