summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-56002 SERVER-56023 Store Collection metadata in the Collection and ↵Henrik Edin2021-05-201-8/+5
| | | | | | | | | | | 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-16049 Replicate capped collection deletesGregory Wlodarek2021-04-231-3/+11
|
* SERVER-51334: Only allow the temporary resharding collection on FCV 4.7+Daniel Gottlieb2021-03-241-2/+2
|
* SERVER-47752 Refactor kMajorityCommitted to not receive special treatmentBrian DeLeonardis2020-10-261-1/+1
|
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-4/+2
| | | | | | | | | | | | 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 orderBernard Gorman2020-09-121-5/+5
|
* SERVER-50317 Const correct uses of CollectionHenrik Edin2020-09-021-4/+3
| | | | | | 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-50185 Update keysPerIndex after repairing index inconsistenciesLouis Williams2020-08-261-1/+2
| | | | | This also refactors ValidateResult to wrap index-specific validation errors
* SERVER-47885 Added lookupCollectionByXXXForRead interface to the Collection ↵Henrik Edin2020-08-071-1/+3
| | | | | | | | | catalog that returns collection as shared_ptr<const Collection> AutoGetCollectionForRead and AutoGetCollectionForReadCommand now uses this and holds the shared_ptr. They return the collection as const. Const correct various places to make this possible. Moved some logic from Collection destructors to deregister from the catalog as they may now be destroyed at a later point.
* Revert "SERVER-49117 Remove storage validation of '$' and '.' in field names ↵Charlie Swanson2020-08-061-0/+25
| | | | | | for insert and update" This reverts commit f1194464424569250152308e3cae1ecbade7fb71.
* SERVER-49117 Remove storage validation of '$' and '.' in field names for ↵Junhson Jean-Baptiste2020-08-041-25/+0
| | | | insert and update
* SERVER-47873 Eliminate the Collection* saved in IndexDescriptorGeert Bosch2020-06-101-3/+3
|
* SERVER-46641: Limit collection names to 255 characters.Daniel Gottlieb2020-03-171-1/+2
|
* SERVER-44276: Change storage engine catalog map to be keyed by RecordId ↵Daniel Gottlieb2019-11-061-2/+6
| | | | instead of Namespace.
* SERVER-43317 merge failpoint headers. Rewrite docs.Billy Donahue2019-10-031-1/+1
| | | | iterate docs
* SERVER-43651 Move fillWriterVectors, multiSyncApply, and syncApply to ↵Mihai Andrei2019-10-021-1/+1
| | | | OplogApplierImpl
* SERVER-41766 Remove obsolete code for tracking multikey writes inside ↵William Schultz2019-08-121-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-41696 Remove the 'ns' field from index specsGregory Wlodarek2019-07-291-12/+9
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-29/+13
|
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-06-281-1/+0
|
* SERVER-41694 Remove the restriction on collection name lengthGregory Wlodarek2019-06-241-2/+1
|
* SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalogXiangyu Yao2019-06-211-2/+3
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-4/+3
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-101-1/+1
|
* SERVER-40854 do not delete side table records while we are still have an ↵Benety Goh2019-05-031-4/+0
| | | | | | active record store cursor Re-enables failing StorageInterfaceImplTest test cases.
* SERVER-40854 temporarily disable failing StorageInterfaceImplTest test casesBenety Goh2019-05-031-0/+4
|
* SERVER-40724 Change namespace arguments to use NamespaceStringGeert Bosch2019-04-261-1/+1
|
* SERVER-39796 Remove oplog name parameter from OplogInterfaceLocal. Remove ↵Matthew Russotto2019-04-241-41/+19
| | | | uses of OplogInterfaceLocal for non-oplog documents
* SERVER-40381 Add the ability to specify a pipeline to an update commandJames Wahlin2019-04-111-1/+2
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-36815 Remove references to oplog entry's hash fieldSamy Lanka2019-01-171-1/+0
|
* SERVER-38091 IndexCatalog iterators and accessors should return const entriesLouis Williams2018-12-191-2/+2
|
* SERVER-37643 replace MultiIndexBlock reference in test with ↵Benety Goh2018-12-181-9/+8
| | | | IndexCatalog::createIndexOnEmptyCollection
* SERVER-38330 merge MultiIndexBlock and MultiIndexBlockImplBenety Goh2018-12-101-2/+1
|
* SERVER-37763 MultiIndexBlock::commit() returns StatusBenety Goh2018-11-201-1/+1
| | | | This allows MultiIndexBlock to support aborting index builds.
* SERVER-37589 add library for MultiIndexBlockBenety Goh2018-10-261-2/+3
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36889 unshim MultiIndexBlockBenety Goh2018-10-121-1/+2
|
* SERVER-37365 Don't use `ignore()` in some tests.ADAM David Alan Martin2018-10-021-17/+13
| | | | | | It shouldn't be necessary to explicitly ignore status returns in functions when testing their throw behavior - the test is sufficient to indicate that `Status` is ignored.
* SERVER-36015 Remove references to system.namespaces and system.indexesDianna Hohensee2018-08-291-1/+1
|
* SERVER-34963 Fix linking on dynamic community builds.ADAM David Alan Martin2018-05-161-8/+10
| | | | | | | | | | | There were hidden transitive dependencies through `auth` into other subsystems which were not detected through the normal content integration pathway. This adds some necessary dependency edges in order to fix building on those platforms. It also removes a few transitional ignores and fixes some uses of ambiguous stream operators. The `str::stream` object should not directly be streamed.
* SERVER-34967 Handle PlanExecutor failure in StorageInterfaceImplCharlie Swanson2018-05-151-169/+190
|
* SERVER-33493 Have WT RTT rollback keep correct countsJudah Schvimer2018-03-291-0/+18
|
* SERVER-33873 change StorageInterface methods to accept NamespaceStringOrUUIDKyle Suarez2018-03-151-30/+198
| | | | | | | | | | | | | | This updates the following functions to take a NamespaceStringOrUUID to specify the collection: - insertDocuments - findById - deleteById - upsertById This leaves other methods unchanged; if we decide to keep the StorageInterface around and require more methods to accept a UUID, they could conceivably be updated in a similar manner.
* SERVER-33609 Pass readConcernLevel to WiredTigerRecoveryUnitXiangyu Yao2018-03-091-1/+1
|
* SERVER-32741 Remove erroneous TODOsMaria van Keulen2018-03-021-1/+0
| | | | | | | The uuid field is intentionally optional in CollectionOptions because CollectionOptions is used for both parsing stored collection options and parsing user-specified collection options, and users are not allowed to define their own UUIDs.
* SERVER-32206 timestamp catalog change to declare index multikeyJudah Schvimer2018-02-021-0/+79
|
* SERVER-32741 Initialize the featureCompatibilityVersion parameter value to 3.6Maria van Keulen2018-02-011-168/+84
|
* SERVER-30926 Add timestamps to writes to minValid documentJudah Schvimer2017-12-131-7/+35
|