Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-70556 Clean up index catalog counter methods | Shin Yee Tan | 2022-10-18 | 1 | -5/+3 |
| | |||||
* | SERVER-53594 Add frozen indexes to total index counts and subtract from in ↵ | Shin Yee Tan | 2022-10-14 | 1 | -1/+1 |
| | | | | progress index counts | ||||
* | SERVER-69877 Remove untimestamped writes to the catalog when restarting ↵ | Gregory Wlodarek | 2022-09-28 | 1 | -0/+3 |
| | | | | unfinished index builds during startup recovery | ||||
* | SERVER-68254 Create a function to instantiate collections and index entries ↵ | Gregory Wlodarek | 2022-08-31 | 1 | -0/+22 |
| | | | | from earlier points in time | ||||
* | SERVER-68253 Maintain collections and indexes in pending-drop state in the ↵ | Gregory Wlodarek | 2022-08-04 | 1 | -1/+3 |
| | | | | CollectionCatalog | ||||
* | SERVER-63865 Handle missing index idents during standalone startup recovery | Gregory Noma | 2022-05-31 | 1 | -8/+10 |
| | |||||
* | SERVER-6491 Prevent dropping shard key index when alternative index doesn't ↵ | Randolph Tan | 2022-03-16 | 1 | -31/+5 |
| | | | | exist | ||||
* | SERVER-63251 Refactor IndexAccessMethod to support non-SortedData indexes | Mathias Stearn | 2022-02-11 | 1 | -21/+0 |
| | |||||
* | SERVER-50081 Remove duplicate documents of unique indexes in repair mode | Shin Yee Tan | 2022-01-28 | 1 | -3/+6 |
| | |||||
* | SERVER-60123 Support sharding by cluster key _id on explicitly created ↵ | Haley Connelly | 2021-12-21 | 1 | -4/+5 |
| | | | | clustered collection | ||||
* | SERVER-61158 IndexCatalog::refreshEntry() accepts CreateIndexEntryFlags | Benety Goh | 2021-11-04 | 1 | -1/+2 |
| | |||||
* | SERVER-59508 Support $or in partialFilterExpression; remove top level $and ↵ | James Wahlin | 2021-10-01 | 1 | -0/+7 |
| | | | | restriction | ||||
* | SERVER-57446 fix clang-tidy header issues and add header-filter | Daniel Moody | 2021-08-02 | 1 | -16/+16 |
| | |||||
* | SERVER-57127 IndexCatalog::findShardKeyPrefixedIndex() accepts CollectionPtr | Benety Goh | 2021-06-03 | 1 | -0/+1 |
| | |||||
* | SERVER-56002 SERVER-56023 Store Collection metadata in the Collection and ↵ | Henrik Edin | 2021-05-20 | 1 | -36/+48 |
| | | | | | | | | | | | reply on the copy-on-write machinery to keep it in sync with the durable catalog. All updates to the metadata needs to happen through the Collection, moved interfaces from the DurableCatalog to the Collection. Removed back pointer to Collection in IndexCatalogEntryImpl, interfaces now correctly take a const or non-const Collection. This should make its iterface const-correct to avoid making bugs where the copy-on-write system for Collections are bypassed. Multikey handle is special as it needs to happen without exclusive access to the Collection. Implemented isolation for the Collection metadata when multikey is changed. It handles multi-doc transactions and is only commited to the Collection instance after the write to the durable catalog successfully commits. listCollections and listIndexes can now safetly read the metadata cache without needing to read from the durable catalog making them safe to do without Collection level locks. | ||||
* | SERVER-51895 Fix so drop index is registering a valid ident with the reaper ↵ | Henrik Edin | 2020-11-10 | 1 | -0/+8 |
| | | | | | | when possible Also fix so the drop pending ident reaper is used in standalone mode | ||||
* | SERVER-50145 Collection instances are modified using copy-on-write | Henrik Edin | 2020-10-08 | 1 | -3/+19 |
| | | | | | | | | When a writable collection is requested from the catalog a cloned instance will be returned. Its lifetime is managed by default in a WriteUnitOfWork and committed into the catalog in a commit handler. In the case of a rollback the cloned and modified collection instance is simply discarded. This removes the need to setup rollback handlers to restore any state written to a collection in the case of a rollback. | ||||
* | SERVER-50984 Add CollectionPtr to replace usage of const Collection* | Henrik Edin | 2020-09-26 | 1 | -9/+10 |
| | | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up. | ||||
* | SERVER-47812 Secondaries persist wildcard multikeypaths out of order | Bernard Gorman | 2020-09-12 | 1 | -0/+1 |
| | |||||
* | SERVER-50317 Const correct uses of Collection | Henrik Edin | 2020-09-02 | 1 | -10/+10 |
| | | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer. | ||||
* | SERVER-48417 Reconstruct in-memory state when resuming index build | Samy Lanka | 2020-08-04 | 1 | -2/+4 |
| | |||||
* | SERVER-47873 Eliminate the Collection* saved in IndexDescriptor | Geert Bosch | 2020-06-10 | 1 | -17/+11 |
| | |||||
* | SERVER-25023 Allow multiple indexes on the same fields with different ↵ | Bernard Gorman | 2020-04-25 | 1 | -9/+5 |
| | | | | partial index filters | ||||
* | SERVER-47416 Eliminate copies of KeyStringSet when possible | Henrik Edin | 2020-04-14 | 1 | -2/+2 |
| | | | | Also reusing memory for temporary data structure in KeyString generation for arrays. | ||||
* | SERVER-37637 Standalone nodes should not restart in-progress two-phase index ↵ | Louis Williams | 2020-01-31 | 1 | -2/+1 |
| | | | | | | | | | | | builds on startup If a replica set node is started in standalone mode and there are incomplete two-phase index builds, instead of restarting them, we mark the indexes as 'frozen'. This signifies that the indexes are unusable, and will not be rebuilt. The only option available to users is to drop the index. This can corrupt the replica set, but modifying replicated data in standalone mode already poses this danger. | ||||
* | SERVER-39452 Support rollback via refetch for two-phase index builds | Louis Williams | 2019-12-16 | 1 | -1/+2 |
| | |||||
* | SERVER-41766 Remove obsolete code for tracking multikey writes inside ↵ | William Schultz | 2019-08-12 | 1 | -1/+1 |
| | | | | | | multi-document transactions Now that we update the multikey flag within a transaction in a side transaction, the in-memory state about the multikey write will be naturally visible to subsequent writes inside the transaction, so we don't need to keep around any extra structures to enforce this anymore. | ||||
* | SERVER-42567 Remove magic from CollectionImpl and IndexCatalogImpl | Geert Bosch | 2019-08-12 | 1 | -6/+0 |
| | |||||
* | SERVER-41721 Make IndexAccessMethod::getKeys output a KeyString set | Gregory Noma | 2019-08-08 | 1 | -3/+3 |
| | |||||
* | SERVER-41696 Remove the 'ns' field from index specs | Gregory Wlodarek | 2019-07-29 | 1 | -2/+0 |
| | |||||
* | SERVER-39918 Untangle IndexBuildBlock from IndexCatalogImpl | Gregory Noma | 2019-07-03 | 1 | -90/+12 |
| | |||||
* | SERVER-41695 Remove index namespace strings | Gregory Wlodarek | 2019-06-21 | 1 | -4/+1 |
| | |||||
* | SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalog | Xiangyu Yao | 2019-06-21 | 1 | -2/+1 |
| | |||||
* | SERVER-39705 IndexCatalogImpl::_indexKeys() accepts document to be indexed | Benety Goh | 2019-06-14 | 1 | -0/+1 |
| | |||||
* | SERVER-40825 In-progress index builds only record the set difference of ↵ | Gregory Noma | 2019-06-13 | 1 | -6/+31 |
| | | | | removed and inserted keys on update | ||||
* | SERVER-39338 Remove `stdx/functional.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | SERVER-40887 Removed getAndClearUnfinishedIndexes and relevant code | Gabe Villasana | 2019-06-07 | 1 | -19/+0 |
| | |||||
* | SERVER-40926 SERVER-40927 createIndexes cmd requests for indexes that are ↵ | Dianna | 2019-05-13 | 1 | -5/+11 |
| | | | | already being built wait for them to complete rather than return OK immediately | ||||
* | SERVER-40786 Improve error message in IndexCatalog::dropAllIndexes() | Gregory Wlodarek | 2019-04-30 | 1 | -0/+5 |
| | |||||
* | SERVER-39323 refactor index spec validation code to make it more modularized ↵ | Dianna | 2019-04-22 | 1 | -7/+32 |
| | | | | | | | | | and flexible. - Remove a "$freelist" collection reference, which was removed with MMAPv1 - Modularize a {buildIndexes:false} check that causes a IndexAlreadyExists error to be returned - Split IndexCatalog::removeExistingIndexes into removeExistingIndexes and removeExistingIndexesNoChecks, to be more explicit about the internal behavior. | ||||
* | SERVER-39517 Fix accidental reference | Geert Bosch | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | SERVER-39517 Only use Collection MODE_X for index creation and drop | Geert Bosch | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -1/+2 |
| | | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done | ||||
* | SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add ↵ | Dianna Hohensee | 2019-03-24 | 1 | -0/+10 |
| | | | | parallel IndexBuildsCoordinator checks for all BackgroundOperation checks | ||||
* | Revert "SERVER-39079 Move BackgroundOperation checks out of the catalog ↵ | Dianna Hohensee | 2019-03-12 | 1 | -10/+0 |
| | | | | | | layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks" This reverts commit d02edd5290131978f901ffc657bee3470d03f8fd. | ||||
* | SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add ↵ | Dianna Hohensee | 2019-03-11 | 1 | -0/+10 |
| | | | | parallel IndexBuildsCoordinator checks for all BackgroundOperation checks | ||||
* | SERVER-39703 Pull opCtx ptr out of the TemporaryKVRecordStore and instead ↵ | Dianna Hohensee | 2019-02-21 | 1 | -0/+5 |
| | | | | pass it as a function parameter | ||||
* | SERVER-38097 Pull opCtx and collection ptrs out of MultiIndexBlock and pass ↵ | Dianna Hohensee | 2019-02-19 | 1 | -8/+5 |
| | | | | instead as function parameters | ||||
* | SERVER-37455 Delete per-collection cursor managers. | David Storch | 2019-01-23 | 1 | -3/+1 |
| | |||||
* | SERVER-37270 Remove foreground index builds by default | Louis Williams | 2019-01-17 | 1 | -2/+4 |
| |