summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-70338 Abandon snapshot while holding locks during query yieldLouis Williams2023-04-251-20/+17
| | | | | | * Alters the Locker contract to require callers to check if they can yield locks before yielding * Reverses the ordering of yielding such that the snapshot is released before releasing locks * Refactors the PlanYieldPolicy to allow it to override the requested YieldPolicy if necessary
* SERVER-67289 Remove feature flag for PM-2218Gregory Wlodarek2023-04-211-1/+1
|
* SERVER-68269 Remove minimum visible snapshot for indexesGregory Wlodarek2023-04-181-28/+0
|
* SERVER-66587 rename isEnabledAndIgnoreFCV to isEnabledAndIgnoreFCVUnsafeJiawei Yang2023-04-051-2/+4
|
* SERVER-73115 Always include tenant in collection name attributes in log linesmathisbessamdb2023-03-301-2/+2
|
* SERVER-74483 Remove unused InsertDeleteOptions fieldsYu Jin Kang Park2023-03-151-2/+0
|
* SERVER-73330 Immediately abort index build on (non-duplicate) key generation ↵Yu Jin Kang Park2023-03-141-40/+28
| | | | error
* SERVER-73873 Remove opCtx captures from onCommit/onRollback handlersLouis Williams2023-02-221-2/+2
|
* SERVER-67446 Ensure consistent wildcardProjection specs in catalogKevin Cherkauer2023-01-191-2/+54
|
* SERVER-68981 Validate WT table logging settingsGregory Noma2023-01-131-6/+7
|
* SERVER-72328 Move memUsage to sorter statsShin Yee Tan2023-01-061-0/+1
|
* SERVER-72419 Refactor IndexAccessMethod to have a single side-writes ↵Dianna Hohensee2022-12-301-1/+1
| | | | function for both sorted & columnar indexes
* SERVER-67903 Move _numSorted and _totalDataSizeSorted to sorterStats classShin Yee Tan2022-12-221-0/+2
|
* SERVER-65364 Allow fine-grained selection of indexes to updateAlberto Massari2022-12-211-1/+0
|
* SERVER-71287 Stash CollectionCatalog when starting multi-document transactionsHenrik Edin2022-12-141-14/+20
| | | | | | This allows readers to use Collections fully in sync with the multi-document transaction snapshot and eliminates the need for the pessimistic "catalog conflicting timestamp". Write operations checks that they are operating on the latest version of the collection and throw WCE if not.
* SERVER-65677: Use validate repair mode to fix duplicate keysWill Buerger2022-12-081-5/+15
|
* SERVER-68125 Correctly track all memory used during index buildsLouis Williams2022-10-261-3/+4
| | | | | | This allows the Sorter to manage a memory pool that can be used to allocate memory for index builds. Previously, we relied on each key to report its individual memory usage, but there are some cases where we fail to represent the actual memory used by all keys because the memory was backed by a shared buffer. This new memory pool holds references to all of the buffers it allocates and does not free them until the caller requests so, in this case when the sorter spills to disk. This strategy keeps the performance the same for index builds without many duplicate keys (due to repeated array values). In the degenerate case where we're building an index with very large duplicate keys, we will end up with more spilling than we had before, at the cost of correctly tracking our memory usage.
* SERVER-66503 Skip unindexing from `_id` index when handling duplicate record ↵Gregory Noma2022-10-201-6/+2
| | | | for logical initial sync
* SERVER-70147 Migrate addRequiredPrivileges to checkAuthForOperationSara Golemon2022-10-051-2/+0
|
* SERVER-70010 Fix opCtx interruption checks in execution codebaseMatt Diener2022-10-031-1/+1
|
* SERVER-65978: Online column store index buildsWill Buerger2022-09-301-1/+60
| | | | Co-authored-by: Erin Zhu <erin.zhu@mongodb.com>
* SERVER-66511 Improve performances of sort+limit stages in SBEAlberto Massari2022-09-291-3/+2
|
* SERVER-69581 add performance-for-range-copy check to clang-tidyTrevor Guidry2022-09-201-1/+1
|
* SERVER-68571 Update reaper when instantiating collection/index on expired identGregory Wlodarek2022-09-161-2/+6
|
* SERVER-67611 Remove storage usages of `ErrorCategory::Interruption`Gregory Noma2022-09-021-1/+1
|
* SERVER-67538 Make multi-doc txns return WCE on index catalog changesJosef Ahmad2022-08-311-0/+20
| | | | | | | | | | | | | | | | Background: SERVER-47866 stopped bumping the collection's minimum visibility timestamp on catalog changes related to an index; only the index's minimum visibility snapshot continues to be updated. One side effect of this change is that a multi-document transaction can read a at a snapshot where the index is not yet ready and commit at a timestamp when the index is ready, which not intended behaviour and can open the opportunity for a race to happen. This patch introduces a check for the indices' minimum visible timestamp. Attempting to write to an index entry while reading at an incompatible timestamp returns a write conflict exception. Locking rules guarantee that we see a consistent in-memory view of the indices' minimum visible snapshot.
* SERVER-68941 Unify common functionality in BulkBuilder implementationsErin Zhu2022-08-191-129/+79
|
* SERVER-60455 serverStatus metrics for external sorterShin Yee Tan2022-07-151-1/+12
|
* SERVER-67471 Improve RecordId usage performanceJordi Olivares Provencio2022-07-151-3/+3
|
* SERVER-65481 Bulk shredding and loading for column store indexesJustin Seyster2022-07-081-50/+60
|
* Revert "SERVER-65481 Bulk shredding and loading for column store indexes"Sviatlana Zuiko2022-06-301-60/+50
| | | | This reverts commit cb9472afc30d32d1c18691d64899c1aa72cdc43d.
* SERVER-65481 Bulk shredding and loading for column store indexesJustin Seyster2022-06-291-50/+60
|
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+4
|
* SERVER-64659 add external sorter file handle metrics to indexBulkBuilder ↵Benety Goh2022-04-291-0/+9
| | | | server status section
* SERVER-64659 add resumable index build counter to indexBulkBuild server ↵Benety Goh2022-04-291-0/+6
| | | | status section
* SERVER-64659 add indexBulkBuilder server status section with minimal ↵Benety Goh2022-04-281-2/+38
| | | | creation metrics
* SERVER-54284 ExceptionFor<ErrorCodes::WriteConflict> should resolve to ↵Amirsaman Memaripour2022-04-281-1/+1
| | | | WriteConflictException
* SERVER-64659 move sorter.h include to IndexAccessMethod cpp fileBenety Goh2022-04-281-0/+1
|
* SERVER-65922 Allow duplicate keys to be inserted before the index build with ↵Yuhong Zhang2022-04-261-4/+3
| | | | the `prepareUnique` option commits
* SERVER-65576 Improve time-series index build performance on non-measurement ↵Gregory Wlodarek2022-04-141-1/+3
| | | | indexes
* SERVER-61582 Return `Status` from from `SortedDataInterface::insert`Gregory Noma2022-03-171-19/+11
|
* SERVER-63664 Rename disallowNewDuplicateKeys option to prepareUniquePavi Vetriselvan2022-02-241-4/+4
|
* SERVER-63033 Refactor resumable index builds to use IDL instead of manual ↵Jordi Olivares Provencio2022-02-221-11/+7
| | | | BSON building
* SERVER-63443 Make `disallowNewDuplicateKeys` persisted in catalogYuhong Zhang2022-02-111-3/+4
|
* SERVER-63251 Refactor IndexAccessMethod to support non-SortedData indexesMathias Stearn2022-02-111-150/+323
|
* SERVER-63251 Rename AbstractIndexAccessMethod to SortedDataIndexAccessMethodMathias Stearn2022-02-031-110/+111
| | | | | | | | | This is the first step in the refactoring process. All subclasses of AbstractIndexAccessMethod currently use SortedDataInterface as their storage, and most of AbstractIAM deals with the common code for working with SortedData. This rename codifies that relationship. Later commits in the refactor will move all SortedData specific functionality down from IAM to SortedDataIAM, to make room for indexes with other types of storage.
* SERVER-62004 Enable regular indexes to reject duplicate keys when enforcing ↵Yuhong Zhang2022-01-191-12/+23
| | | | duplicate constraints
* Revert "SERVER-62056 Improve `Sorter` code structure"Yuhong Zhang2021-12-301-32/+50
| | | | This reverts commit 4cfcc10775e2cab05a6e30c2516994ab67b9bd7d.
* SERVER-62056 Improve `Sorter` code structureGregory Noma2021-12-161-50/+32
|
* SERVER-43176 Remove seekExact from SortedDataInterfaceHenrik Edin2021-12-011-14/+3
| | | | | | This replaces SortedDataInterface::Cursor::seekExact with a findLoc function on the SortedDataInterface. This has the benefit of being independent of cursor position and direction.