summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_oplog_application.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-75276 writeConflictRetry should properly be using a ↵Sophia Tan2023-05-151-1/+1
| | | | NamespaceStringOrUUID instead of a StringData
* SERVER-76790: Fix holding extra tickets during resharding oplog applicationnandinibhartiyaMDB2023-05-111-68/+92
|
* SERVER-76538 Use acquisitons on internal update pathsJordi Serra Torrens2023-05-091-29/+24
|
* SERVER-70127 change system operations to be killable by defaultJiawei Yang2023-04-261-4/+0
|
* Revert "SERVER-70127 change system operations to be killable by default"Sviatlana Zuiko2023-04-251-0/+4
| | | | This reverts commit c35bad3b048e8d885bf0b7517aacd2349ea81d14.
* SERVER-75580 Thread-through `ScopedCollectionOrViewAcquisition` on the ↵Jordi Serra Torrens2023-04-251-37/+66
| | | | internal delete code paths
* SERVER-70127 change system operations to be killable by defaultJiawei Yang2023-04-251-4/+0
|
* SERVER-75424 Push down timeseries metric predicateYoonsoo Kim2023-04-191-1/+1
|
* SERVER-74486 Always include tenant in collection name attributes in error ↵Sophia Tan2023-04-181-5/+6
| | | | messages
* SERVER-74380 Make the router loop not invariant on unexpected namespacesKaloian Manassiev2023-04-101-1/+1
|
* Revert "SERVER-70127 change system operation threads to be killable by default"Jiawei Yang2023-03-301-0/+4
| | | | | | | | This reverts commit 9f2867c9da77e2d64df3852f7d4578f10e6f0817. Revert "SERVER-75352 OplogBatcher's ReplBatcher thread should be unkillable" This reverts commit 26266d5b736f90961a328399dea5d299cd407ab2.
* SERVER-70127 change system operation threads to be killable by defaultJiawei Yang2023-03-131-4/+0
|
* SERVER-70799 Remove ShardVersion::IGNORED()Allison Easton2023-03-131-16/+26
|
* SERVER-69749 ↵Benety Goh2022-10-121-1/+1
| | | | TransactionParticipant::retrieveCompletedTransactionOperations() returns TransactionOperations
* SERVER-69541 Modify Helpers::findById() to accept NamespaceString type ↵Romans Kasperovics2022-09-281-1/+1
| | | | collection name
* SERVER-68336 Add version of AutoGetCollection which takes a struct for its ↵Faustoleyva542022-09-151-20/+14
| | | | optional parameters
* SERVER-69560 ↵Benety Goh2022-09-091-1/+1
| | | | TransactionParticipant::retrieveCompletedTransactionOperations() returns pointer instead of non-const reference
* SERVER-68215 check out mongod sessions through MongoDSessionCatalogBenety Goh2022-08-241-1/+3
|
* SERVER-66998 Do not allow WriteConflict exceptions to be thrown without contextFaustoleyva542022-08-181-2/+6
|
* SERVER-68214 move session_catalog*, session*, logical_session* to ↵Shin Yee Tan2022-08-171-2/+2
| | | | mongo/db/session directory
* SERVER-62793 Add index component to shard versionAllison Easton2022-08-171-1/+1
|
* SERVER-68635 Move the whole insert path out of CollectionImplKaloian Manassiev2022-08-151-10/+13
|
* SERVER-67505 Move multi-doc transaction classes from mongo/db/ to ↵Shin Yee Tan2022-08-011-1/+1
| | | | mongo/db/transaction sub directory
* SERVER-68246 rewrite calls to boost::optional get and is_initializedBilly Donahue2022-07-271-1/+1
|
* SERVER-66869 Get rid of the multi DB locking capabilityKaloian Manassiev2022-06-201-5/+4
|
* SERVER-66422 Switch over to new resharding metricsRandolph Tan2022-06-071-30/+9
|
* SERVER-66353 Add concurrency information to ↵George Wangensteen2022-05-231-1/+1
| | | | OperationContext::setAlwaysInterruptAtStepDownOrUp
* SERVER-66205 Merge `WriteConflictException` and ↵Amirsaman Memaripour2022-05-101-1/+1
| | | | `TemporarilyUnavailableException` into `assert_util.h`
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-54284 ExceptionFor<ErrorCodes::WriteConflict> should resolve to ↵Amirsaman Memaripour2022-04-281-1/+1
| | | | WriteConflictException
* SERVER-64379 Implement restoration of countWritesToStashCollectionsRandolph Tan2022-04-221-5/+5
|
* SERVER-63623 Implemented Basic Global Index Metrics Restoration For CrudOp ↵Randolph Tan2022-04-181-10/+10
| | | | Metrics
* SERVER-64378 Track and Report New Donor and Recipient Fields in CurrentOpRandolph Tan2022-04-151-0/+22
|
* SERVER-63634 ReshardingMetricsNew restores common metadata metricsBrett Nawrocki2022-03-251-6/+3
| | | | | | | | | | | | ReshardingMetricsNew will now restore after a failover the following metrics from the ReshardingService state documents: desc ns op originatingCommand {donor, recipient, coordinator}State totalOperationTimeElapsedSecs type
* SERVER-64057 Comment the shard/databaseVersion arguments for the shard roleKaloian Manassiev2022-03-111-1/+4
|
* SERVER-64057 Implement a scoped object for setting the expected ↵Kaloian Manassiev2022-03-091-2/+1
| | | | shard/database versions
* SERVER-63622 Created & Integrated In-Memory Only CrudOps Metrics For Global ↵Luis Osta2022-03-021-2/+17
| | | | Index Metrics
* SERVER-60529 Make TransactionParticipant take in txnNumberAndRetryCounter ↵Jason Zhang2021-11-031-5/+2
| | | | instead of txnNumber and txnRetryCounter separately
* SERVER-60094 Add shard version to internal writeBrett Nawrocki2021-09-211-2/+12
| | | | | | | | | | | | | ReshardingOplogApplicationRules::_applyDelete_inlock() has special logic to, upon removing a document from the temporary resharding collection, move a document from one of the other stash collections (i.e. one associated with a different donor shard) into its place. The runWithTransaction() helper does so by using AlternativeSessionRegion which will construct a separate OperationContext. The write being performed in this separate OperationContext won't have shard version attached for the temporary resharding collection like the original one had. Therefore, call initializeClientRoutingVersions() on this context to set the version.
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-081-1/+1
|
* SERVER-58752 Support retrying internal transactions on transient transaction ↵Cheahuychou Mao2021-09-011-1/+5
| | | | errors
* SERVER-57760 Introduce resharding dedicated OpCounters and use them inHaley Connelly2021-07-091-11/+8
| | | | ReshardingOplogApplier
* SERVER-55501 Avoid element-wise iteration and copy when appending to an ↵Dan Larkin-York2021-04-281-1/+2
| | | | object in doc_diff::applyDiff
* SERVER-55385 Use common executor to apply oplog entries in resharding.Max Hirschhorn2021-04-091-5/+5
| | | | | | | | | | | | Removes the dedicated thread pools for each ReshardingOplogApplier to apply oplog entries with. Renames the reshardingWriterThreadCount server parameter to be called reshardingOplogBatchTaskCount. Adds a ReshardingOplogBatchApplier class to apply batches of oplog entries without blocking the thread on prepared transactions during session application.
* SERVER-55356: Increase introspection on resharding_collection_cloner.js ↵Daniel Gottlieb2021-03-241-1/+1
| | | | failures. Correct resharding log components.
* SERVER-54183: Rollback resharding operations that are not timestamped.Daniel Gottlieb2021-02-051-2/+21
|
* SERVER-53856 Resharding recipient primaries may skip session application for ↵Randolph Tan2021-01-281-48/+24
| | | | grouped op='i' oplog entries
* SERVER-54041 ReshardingOplogApplicationRules::applyOperation() doesn't retry ↵jannaerin2021-01-271-2/+4
| | | | on WriteConflictExceptions
* SERVER-49907 Unroll applyOps entry and do resharding CRUD application.Max Hirschhorn2021-01-111-43/+0
| | | | This reverts commit 54e87285f802a49456c02c80cb0ddb0fbb54c88a.
* Revert "SERVER-49907 Unroll applyOps entry and do resharding CRUD application."Max Hirschhorn2021-01-091-0/+43
| | | | This reverts commit 4363473d75cab2a487c6a6066b601d52230c7e1a.