Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-74210 Improve createIndexes errmsg on secondary abort | Josef Ahmad | 2023-05-11 | 1 | -1/+1 |
| | |||||
* | SERVER-76777 Retry lock coll lock acquisition on self abort | Yu Jin Kang Park | 2023-05-11 | 1 | -4/+9 |
| | |||||
* | SERVER-74873 Add concurrency test for aborted index builds | Yu Jin Kang Park | 2023-04-28 | 1 | -3/+3 |
| | |||||
* | SERVER-76170 Disallow vote abort if the node already voted commit for index ↵ | Yu Jin Kang Park | 2023-04-25 | 1 | -0/+17 |
| | | | | build | ||||
* | SERVER-75680 Cancel and clear vote callback in forceSelfAbort | Yu Jin Kang Park | 2023-04-11 | 1 | -0/+11 |
| | |||||
* | SERVER-75308 Fix race between external and internal index build aborts | Josef Ahmad | 2023-04-04 | 1 | -1/+5 |
| | |||||
* | SERVER-75083 Make index build step-up checks resilient to concurrent commit | Yu Jin Kang Park | 2023-04-03 | 1 | -0/+11 |
| | |||||
* | SERVER-74194 Secondaries can kill index builds due to insufficient disk ↵ | Louis Williams | 2023-03-17 | 1 | -19/+28 |
| | | | | space. This also allows index builds killed by killop to signal a primary for abort to avoid crashing. | ||||
* | SERVER-73294 Signal primary node for aborting index builds on failure | Yu Jin Kang Park | 2023-02-23 | 1 | -31/+94 |
| | |||||
* | SERVER-66776 Clean up index builds for errors during setup | Yuhong Zhang | 2022-10-18 | 1 | -0/+5 |
| | |||||
* | SERVER-67437 Store DatabaseName on ReplIndexBuildState | Sophia Tan | 2022-09-15 | 1 | -2/+2 |
| | |||||
* | SERVER-62737 Improve documentation of commitQuorum vs writeConcern in ↵ | Dianna Hohensee | 2022-06-14 | 1 | -2/+0 |
| | | | | createIndexes | ||||
* | SERVER-60791 add appendBuildInfo() method to IndexBuildsCoordinator and ↵ | Benety Goh | 2022-05-16 | 1 | -0/+10 |
| | | | | | | index build class hierarchy for listIndexes includeIncludeBuildInfo Contains no functional or formatting changes to listIndexes. | ||||
* | SERVER-48862 Part 2: aborting index builds when a migration starts | Matthew Russotto | 2021-02-05 | 1 | -5/+18 |
| | |||||
* | SERVER-46995 restrict visibility of ReplIndexBuildState fields protected by ↵ | Benety Goh | 2020-10-16 | 1 | -5/+5 |
| | | | | mutex | ||||
* | SERVER-46995 add ReplIndexBuildState::onConflictWithNewIndexBuild() | Benety Goh | 2020-10-16 | 1 | -0/+7 |
| | |||||
* | SERVER-46995 add methods for synchronizing IndexBuildAction to ↵ | Benety Goh | 2020-10-16 | 1 | -0/+18 |
| | | | | ReplIndexBuildState | ||||
* | SERVER-46995 add ReplIndexBuildState methods for updating vote request ↵ | Benety Goh | 2020-10-16 | 1 | -0/+12 |
| | | | | callback handle | ||||
* | SERVER-46995 move index completion logic from IndexBuildsCoordinator into ↵ | Benety Goh | 2020-10-16 | 1 | -0/+42 |
| | | | | ReplIndexBuildState | ||||
* | SERVER-46995 move pre-commit and abort logic from IndesBuildsCoordinator ↵ | Benety Goh | 2020-10-16 | 1 | -3/+64 |
| | | | | into ReplIndexBuildState | ||||
* | SERVER-46995 convert ReplIndexBuildState to class and un-inline. add methods ↵ | Benety Goh | 2020-10-16 | 1 | -62/+33 |
| | | | | for resumable index builds | ||||
* | SERVER-50230 fix Coverity analysis defect 114677: Uninitialized scalar field | Benety Goh | 2020-08-27 | 1 | -1/+1 |
| | |||||
* | SERVER-48476 Use majority read cursor for collection scan in resumable index ↵ | Samy Lanka | 2020-07-08 | 1 | -0/+6 |
| | | | | builds | ||||
* | SERVER-48440 Fixed Windows compilation for Visual Studio 2019 version 16.6.0 ↵ | Marcos José Grillo Ramírez | 2020-05-28 | 1 | -1/+1 |
| | | | | on codebase | ||||
* | Revert "SERVER-47982 Fixed Windows compilation for Visual Studio 2019 ↵ | Marcos José Grillo Ramírez | 2020-05-28 | 1 | -1/+1 |
| | | | | | | version 16.6.0" This reverts commit 02e3ec83c7e92adff03beda4def39bb33f1cd02d to prevent confusions with ticket id's. | ||||
* | SERVER-47982 Fixed Windows compilation for Visual Studio 2019 version 16.6.0 | Marcos José Grillo Ramírez | 2020-05-28 | 1 | -1/+1 |
| | |||||
* | SERVER-46659 Initial sync will startup two phase index builds during the ↵ | Gregory Wlodarek | 2020-04-20 | 1 | -0/+4 |
| | | | | collection cloning phase to prevent a scenario where the commit quorum cannot be satisfied due to the primary node needing the initial syncing nodes vote | ||||
* | SERVER-46560 Make abort index build deterministic | Louis Williams | 2020-04-10 | 1 | -28/+40 |
| | | | | | | | | | | | | This redesigns user index build abort to have the following behavior: - Take a collection X lock to stop the index build from making progress - If we are no longer primary, return an error - Check whether we can abort the index build (i.e. it is not already committing or aborting) - Delete the index catalog entry and write the abortIndexBuild oplog entry in a WUOW - Interrupt the index builder thread - Wait for the thread to exit - Release locks | ||||
* | SERVER-46557 Guarantees the commit quorum value gets persisted before start ↵ | Suganthi Mani | 2020-04-09 | 1 | -11/+18 |
| | | | | of the index build. | ||||
* | Revert "SERVER-39423 Secondaries already possessing an index replicated via ↵ | Gregory Wlodarek | 2020-03-27 | 1 | -3/+0 |
| | | | | | | startIndexBuild oplog entry should vote for commit immediately" This reverts commit 4870cb1a9dbefc1007a8d35f0be25d385e9f95f8. | ||||
* | SERVER-39423 Secondaries already possessing an index replicated via ↵ | Gregory Wlodarek | 2020-03-18 | 1 | -0/+3 |
| | | | | startIndexBuild oplog entry should vote for commit immediately | ||||
* | SERVER-46397 When an index build abort is received after a stepDown, wait ↵ | Louis Williams | 2020-03-11 | 1 | -2/+2 |
| | | | | | | | | | for another signal Reinstates a logical condition that was removed by 2fd22e51e07c93a78a67cbb8d01289b96cb7f60a Aadds an IndexBuildAction specific to committing a single-phase build | ||||
* | SERVER-46397 Only report an index build as aborted if it is currently ↵ | Louis Williams | 2020-03-10 | 1 | -3/+5 |
| | | | | | | | | aborting, not committing This expands the concurrency control features used by two-phase index builds to standalone nodes and single-phase index builds so that concurrent commits and aborts behave correctly. | ||||
* | SERVER-46734 Disable the index state transition check. | Suganthi Mani | 2020-03-09 | 1 | -0/+2 |
| | |||||
* | SERVER-39071 Implements commit quorum for two phase index builds. | Suganthi Mani | 2020-03-02 | 1 | -13/+158 |
| | |||||
* | SERVER-44609 Replicate startIndexBuild oplog entry in the same thread as the ↵ | Louis Williams | 2019-12-03 | 1 | -1/+1 |
| | | | | | | | | index build Instead of initializing and replicating the startIndexBuild oplog entry on the caller thread, this moves that logic into the builder thread. This change removes the need for a mutex which previously made that operation atomic. | ||||
* | SERVER-44408 Persist index build UUID to the durable catalog | Louis Williams | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵ | Ben Caimano | 2019-10-21 | 1 | -1/+1 |
| | | | | | | | | | | | Interruptible and Mutex This commit: - Adds Listener hooks for Interruptible - Expands Listener hooks for Mutex - Updates the DiagnosticInfo and its tests to use the new hooks - Removes stacktracing pieces from DiagnosticInfo and its tests - Removes mongo::ConditionVariable entirely in favor of Interruptible | ||||
* | SERVER-39239 add fields to ReplIndexBuildState to support commitIndexBuild ↵ | Benety Goh | 2019-09-20 | 1 | -0/+6 |
| | | | | and abortIndexBuild | ||||
* | SERVER-42165 Replace uses of stdx::mutex with mongo::Mutex | Ben Caimano | 2019-09-17 | 1 | -2/+2 |
| | |||||
* | SERVER-41230 Update FCV constants throughout server code following 4.2 branch | Bernard Gorman | 2019-08-23 | 1 | -6/+4 |
| | | | | | | | SERVER-42162 Update Execution-related generic upgrade/downgrade references SERVER-42642 Update Replication-related generic upgrade/downgrade references SERVER-42592 Update Sharding-related generic upgrade/downgrade references SERVER-42794 Update Query-related generic upgrade/downgrade references SERVER-41545 Bump wire protocol version for 4.4 | ||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -3/+1 |
| | |||||
* | SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntry | Xiangyu Yao | 2019-06-28 | 1 | -1/+16 |
| | |||||
* | SERVER-41445 Remove anonymous namespace from `repl_index_build_state.h`. | ADAM David Alan Martin | 2019-06-03 | 1 | -18/+16 |
| | | | | This is an ODR violation. Fixed. | ||||
* | SERVER-37954 Thread commitQuorum through the createIndexes command into the ↵ | Gregory Wlodarek | 2019-02-22 | 1 | -6/+8 |
| | | | | Coordinator | ||||
* | SERVER-39369 Syncronously filter out in-progress/ready indexes in index ↵ | Dianna Hohensee | 2019-02-22 | 1 | -11/+21 |
| | | | | build requests, register them on the Coordinator and persist in catalog | ||||
* | SERVER-39368 refactor IndexBuildsCoordinator::_runIndexBuild to facilitate ↵ | Dianna Hohensee | 2019-02-11 | 1 | -2/+6 |
| | | | | future changes and code re-use | ||||
* | SERVER-39068 Replicate startIndexBuild and commitIndexBuild oplog entrires | Louis Williams | 2019-02-12 | 1 | -3/+6 |
| | |||||
* | SERVER-37979 Remove prepareIndexBuild from IndexBuildEntry | Gregory Wlodarek | 2019-02-09 | 1 | -4/+0 |
| | |||||
* | SERVER-37643 update IndexBuildsCoordinator and IndexBuildsManager interfaces. | Benety Goh | 2019-01-31 | 1 | -0/+6 |
| | | | | | | | | | rename IndexBuildsCoordinator::buildIndex() to startIndexBuild() add ReplIndexBuildState::dbName and use in IndexBuildsCoordinator registration add IndexBuildsManager::isBackgroundBuilding() remove unused IndexBuildsManager::finishConstraintPhase() add IndexBuildsManager::drainBackgroundWrites() remove nss argument from IndexBuildsManager::setUpIndexBuild() |