summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/kv
Commit message (Collapse)AuthorAgeFilesLines
* Revert "SERVER-43664 Speedup WiredTiger storage engine startup for many ↵Gregory Wlodarek2020-10-121-14/+0
| | | | | | tables by optimizing WiredTigerUtil::setTableLogging()" This reverts commit 97fdfbefdc6841d0b07d0bf54a28c86c70ca5e19.
* SERVER-43664 Speedup WiredTiger storage engine startup for many tables by ↵Gregory Wlodarek2020-10-031-0/+14
| | | | | | optimizing WiredTigerUtil::setTableLogging() (cherry picked from commit 8e64b07e3bb363347ee2c11a56aba873365ed74a)
* SERVER-47844 Add the ability to get the initialDataTimestamp from the ↵William Schultz2020-08-251-0/+7
| | | | | | | storage engine interface (cherry picked from commit 1408e1b8a5392a9001ee598b5cec66afc4e1cf77) (cherry picked from commit 329d8c517d8b3c3fb4bcb63eecf6064ac9a007cf)
* SERVER-46721 Secondary readers should read at the no-overlap time instead of ↵Louis Williams2020-08-061-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lastApplied The no-overlap time, ReadSource::kNoOverlap, is the minimum of replication's lastApplied timestamp and WiredTiger's all_durable time. This time is independent of replication state and ensures queries do not see oplog holes after state transitions from secondary to primary. (cherry picked from commit 25c694f365db0f07a445bd17b6cd5cbf32f5f2f9) (cherry picked from commit 5ddf9db5635e4af2d1295bd2f1007e86d517c6c2) SERVER-44529 Query yield recovery after a stepdown should switch to read at the no-overlap time After yielding and reacquiring locks in a query, the preconditions that were used to select our ReadSource initially need to be checked again. Queries hold an AutoGetCollectionForRead RAII lock for their lifetime, which may select a ReadSource based on state (e.g. replication state). After a query yields its locks, this state may have changed, invalidating our current choice of ReadSource. (cherry picked from commit b3a5b5258a487006f0487b9e7e0a1d0d4f1119ff) (cherry picked from commit ce57ddce19e642401ec1b56871b3a9402116ccfc) SERVER-48475 Reimplement lastApplied for secondary reads This partially reverts work to use the kNoOverlap ReadSource on secondaries since the all_durable calculation is unnecessary and expensive. (cherry picked from commit ff92d4435fa75c2b947c49cffaf48805b320a5ae) (cherry picked from commit 4e3f3b96826772baa777b7563b38574c1e11c2e4)
* SERVER-45481 Change the backup API to return the blocks to copy for ↵Gregory Wlodarek2020-02-251-1/+1
| | | | | | incremental backup (cherry picked from commit 925c5bffbae524a9415c84897ae7ef3a7a798fed)
* SERVER-45581 Configure the incremental backup API to allow block size ↵Gregory Wlodarek2020-02-251-4/+1
| | | | | | granularity to be specified (cherry picked from commit a6f0b19ab9c886d15ff691cfcd73685d621b5ef5)
* SERVER-44406 Add $backupCursor API to forcefully disable incremental backupsGregory Wlodarek2020-02-251-0/+4
| | | | (cherry picked from commit 936b4dbc75574b090970db2d43baf397e569865f)
* SERVER-44407 Connect the incremental backup cursor pipes with WT outputGregory Wlodarek2020-02-251-1/+4
| | | | (cherry picked from commit ed35208e7faeef1856eccf3e724c2838ad4a6dca)
* SERVER-43794: Incremental backup cursor API.Daniel Gottlieb2020-02-251-1/+2
| | | | (cherry picked from commit cff25ee25c1ad064777c9e8ad58d36857e73035e)
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-11-015-19/+19
|
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-266-14/+7
|
* SERVER-41861 Replace 'all_committed' with 'all_durable'Gregory Wlodarek2019-07-263-21/+21
| | | | (cherry picked from commit 25d5f6a0b01f261e633587013e4ab8116ea2930a)
* SERVER-39936 Use PeriodicRunner handles to simplify shutdown orderingBen Caimano2019-07-251-4/+0
|
* Revert "SERVER-36956 SnapshotTooOld errors will always increase the snapshot ↵Dianna Hohensee2019-07-091-5/+5
| | | | | | | | history window size" This reverts commit 8899b34e1044b08aec7ad9f8546652456472702c. (cherry picked from commit 8bb53a07a5c593d85b6229a2afe096b3e1efe21d)
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-07-035-169/+37
| | | | (cherry picked from commit 2597e7fbe3c09683408b82b8b854023d6c2dbbf2)
* SERVER-41865 Change naming and location of KVCatalog and StorageEngineImplXiangyu Yao2019-07-0214-3630/+111
| | | | (cherry picked from commit aab7e250084c68a80fe7a48179f46d07b195af07)
* SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalogXiangyu Yao2019-06-2814-592/+731
| | | | (cherry picked from commit 77ccfbefcd740051597d1cb4eb36d25776926f72)
* SERVER-40478 Merge StorageEngine class with KVStorageEngineXiangyu Yao2019-06-2112-123/+124
| | | | (cherry picked from commit b4f508babb7c3e31c101e62e4411f12476e9c6d8)
* SERVER-41583 Refactor the registration and de-registration of collection and ↵Xiangyu Yao2019-06-205-66/+36
| | | | | | catalog entry (cherry picked from commit 5eda33f9fa40a1a17f9f63f904a8c147700d648c)
* SERVER-40716 Refactor catalog initialization logic on startupXiangyu Yao2019-06-194-26/+42
| | | | (cherry picked from commit ac88c6d4c085e72b6f0ae364b8d11dc604627efb)
* SERVER-41422 Allow the absence of the 'ns' field from index specsGregory Wlodarek2019-06-114-12/+64
|
* SERVER-39813 add oldest required timestamp to server statusBenety Goh2019-05-224-0/+15
|
* SERVER-40882 Restore the --noIndexBuildRetry server parameter flag and the ↵Dianna2019-05-222-3/+14
| | | | storage.indexBuildRetry config file option
* SERVER-41009 TimestampMonitor and getOldestActiveTimestamp shouldn't ↵Gregory Wlodarek2019-05-201-0/+3
| | | | conflict with PBWM lock
* SERVER-36956 SnapshotTooOld errors will always increase the snapshot history ↵Dianna2019-05-173-11/+11
| | | | window size
* SERVER-37988 Add an optional predicate argument in forEachCollectionFromDb() ↵Gregory Wlodarek2019-05-151-1/+4
| | | | to allow skipping unsatisfied collections without grabbing them in the desired lock mode
* SERVER-41158 Remove MMAPv1 index head remnantGeert Bosch2019-05-153-19/+0
|
* SERVER-40892 Rename UUIDCatalog to CollectionCatalogGeert Bosch2019-05-076-33/+34
|
* SERVER-39518 Use database MODE_IX lock for rename collectionsXiangyu Yao2019-04-291-4/+2
|
* SERVER-40724 Change namespace arguments to use NamespaceStringGeert Bosch2019-04-2610-153/+167
|
* SERVER-39520 Use database IX lock for dropCollectionXiangyu Yao2019-04-263-15/+23
|
* SERVER-38478 Remove UninterruptibleLockGuard in query yieldEric Milkie2019-04-262-0/+13
|
* Revert "SERVER-39520 Use database IX lock for dropCollection"Justin Seyster2019-04-253-23/+15
| | | | This reverts commit 3a8c33cd95abaa7455b2c01726bdbf413cc938e5.
* SERVER-39520 Use database IX lock for dropCollectionXiangyu Yao2019-04-253-15/+23
|
* Revert "SERVER-39520 Use database IX lock for dropCollection"Xiangyu Yao2019-04-253-23/+15
| | | | This reverts commit fdc3712e4cb89c23451061b4c927a78340269d89.
* SERVER-39520 Use database IX lock for dropCollectionXiangyu Yao2019-04-253-15/+23
|
* SERVER-39516 Use database MODE_IX lock for creating collectionXiangyu Yao2019-04-181-15/+2
|
* SERVER-40436 Ignore the 'flags' field from the 'create' commandGregory Wlodarek2019-04-112-9/+0
|
* SERVER-39515 Remove DatabaseCatalogEntryXiangyu Yao2019-04-1017-1127/+603
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-094-4/+4
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39514 Move CollectionCatalogEntry ownership to UUIDCatalogXiangyu Yao2019-04-056-132/+127
|
* SERVER-40265 build mongoed with wiredtierGabriel Russell2019-04-011-4/+14
| | | | | * Also, updated a couple of KVStorageEngine::TimestampMonitor tasks to not create a opCtx if it already exists
* SERVER-39519 Create/drop view now only takes database IX lockXiangyu Yao2019-03-282-2/+14
|
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-2/+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-39679 Get oldest transaction time when snapshottingA. Jesse Jiryu Davis2019-03-213-10/+19
|
* SERVER-40085 Avoid using barriers in TimestampMonitorNotifiesListenersGregory Wlodarek2019-03-131-10/+20
|
* SERVER-40021 Transition KVCatalogEntryBase to onRollback/onCommitGeert Bosch2019-03-082-119/+48
|
* SERVER-40020 Make isCollectionLockHeldForMode take NamespaceString, not ↵Geert Bosch2019-03-078-52/+57
| | | | StringData
* SERVER-39861 Add the collection UUID to log messages about deferring ident dropsDianna Hohensee2019-03-042-7/+17
|
* Revert "SERVER-39861 Add the collection UUID to log messages about deferring ↵Dianna Hohensee2019-03-012-22/+9
| | | | | | ident drops" This reverts commit ea8c9655768b0d482f71a44c1760600d8319bf61.