summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl_index_build_state.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-74210 Improve createIndexes errmsg on secondary abortJosef Ahmad2023-05-111-1/+1
|
* SERVER-76777 Retry lock coll lock acquisition on self abortYu Jin Kang Park2023-05-111-4/+9
|
* SERVER-74873 Add concurrency test for aborted index buildsYu Jin Kang Park2023-04-281-3/+3
|
* SERVER-76170 Disallow vote abort if the node already voted commit for index ↵Yu Jin Kang Park2023-04-251-0/+17
| | | | build
* SERVER-75680 Cancel and clear vote callback in forceSelfAbortYu Jin Kang Park2023-04-111-0/+11
|
* SERVER-75308 Fix race between external and internal index build abortsJosef Ahmad2023-04-041-1/+5
|
* SERVER-75083 Make index build step-up checks resilient to concurrent commitYu Jin Kang Park2023-04-031-0/+11
|
* SERVER-74194 Secondaries can kill index builds due to insufficient disk ↵Louis Williams2023-03-171-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 failureYu Jin Kang Park2023-02-231-31/+94
|
* SERVER-66776 Clean up index builds for errors during setupYuhong Zhang2022-10-181-0/+5
|
* SERVER-67437 Store DatabaseName on ReplIndexBuildStateSophia Tan2022-09-151-2/+2
|
* SERVER-62737 Improve documentation of commitQuorum vs writeConcern in ↵Dianna Hohensee2022-06-141-2/+0
| | | | createIndexes
* SERVER-60791 add appendBuildInfo() method to IndexBuildsCoordinator and ↵Benety Goh2022-05-161-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 startsMatthew Russotto2021-02-051-5/+18
|
* SERVER-46995 restrict visibility of ReplIndexBuildState fields protected by ↵Benety Goh2020-10-161-5/+5
| | | | mutex
* SERVER-46995 add ReplIndexBuildState::onConflictWithNewIndexBuild()Benety Goh2020-10-161-0/+7
|
* SERVER-46995 add methods for synchronizing IndexBuildAction to ↵Benety Goh2020-10-161-0/+18
| | | | ReplIndexBuildState
* SERVER-46995 add ReplIndexBuildState methods for updating vote request ↵Benety Goh2020-10-161-0/+12
| | | | callback handle
* SERVER-46995 move index completion logic from IndexBuildsCoordinator into ↵Benety Goh2020-10-161-0/+42
| | | | ReplIndexBuildState
* SERVER-46995 move pre-commit and abort logic from IndesBuildsCoordinator ↵Benety Goh2020-10-161-3/+64
| | | | into ReplIndexBuildState
* SERVER-46995 convert ReplIndexBuildState to class and un-inline. add methods ↵Benety Goh2020-10-161-62/+33
| | | | for resumable index builds
* SERVER-50230 fix Coverity analysis defect 114677: Uninitialized scalar fieldBenety Goh2020-08-271-1/+1
|
* SERVER-48476 Use majority read cursor for collection scan in resumable index ↵Samy Lanka2020-07-081-0/+6
| | | | builds
* SERVER-48440 Fixed Windows compilation for Visual Studio 2019 version 16.6.0 ↵Marcos José Grillo Ramírez2020-05-281-1/+1
| | | | on codebase
* Revert "SERVER-47982 Fixed Windows compilation for Visual Studio 2019 ↵Marcos José Grillo Ramírez2020-05-281-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.0Marcos José Grillo Ramírez2020-05-281-1/+1
|
* SERVER-46659 Initial sync will startup two phase index builds during the ↵Gregory Wlodarek2020-04-201-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 deterministicLouis Williams2020-04-101-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 Mani2020-04-091-11/+18
| | | | of the index build.
* Revert "SERVER-39423 Secondaries already possessing an index replicated via ↵Gregory Wlodarek2020-03-271-3/+0
| | | | | | startIndexBuild oplog entry should vote for commit immediately" This reverts commit 4870cb1a9dbefc1007a8d35f0be25d385e9f95f8.
* SERVER-39423 Secondaries already possessing an index replicated via ↵Gregory Wlodarek2020-03-181-0/+3
| | | | startIndexBuild oplog entry should vote for commit immediately
* SERVER-46397 When an index build abort is received after a stepDown, wait ↵Louis Williams2020-03-111-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 Williams2020-03-101-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 Mani2020-03-091-0/+2
|
* SERVER-39071 Implements commit quorum for two phase index builds.Suganthi Mani2020-03-021-13/+158
|
* SERVER-44609 Replicate startIndexBuild oplog entry in the same thread as the ↵Louis Williams2019-12-031-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 catalogLouis Williams2019-11-071-1/+1
|
* SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵Ben Caimano2019-10-211-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 Goh2019-09-201-0/+6
| | | | and abortIndexBuild
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-2/+2
|
* SERVER-41230 Update FCV constants throughout server code following 4.2 branchBernard Gorman2019-08-231-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 codebaseclang-format-7.0.12019-07-271-3/+1
|
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-06-281-1/+16
|
* SERVER-41445 Remove anonymous namespace from `repl_index_build_state.h`.ADAM David Alan Martin2019-06-031-18/+16
| | | | This is an ODR violation. Fixed.
* SERVER-37954 Thread commitQuorum through the createIndexes command into the ↵Gregory Wlodarek2019-02-221-6/+8
| | | | Coordinator
* SERVER-39369 Syncronously filter out in-progress/ready indexes in index ↵Dianna Hohensee2019-02-221-11/+21
| | | | build requests, register them on the Coordinator and persist in catalog
* SERVER-39368 refactor IndexBuildsCoordinator::_runIndexBuild to facilitate ↵Dianna Hohensee2019-02-111-2/+6
| | | | future changes and code re-use
* SERVER-39068 Replicate startIndexBuild and commitIndexBuild oplog entriresLouis Williams2019-02-121-3/+6
|
* SERVER-37979 Remove prepareIndexBuild from IndexBuildEntryGregory Wlodarek2019-02-091-4/+0
|
* SERVER-37643 update IndexBuildsCoordinator and IndexBuildsManager interfaces.Benety Goh2019-01-311-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()