summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-43322 Add tunable oplog stone sizes and track truncation speedsMaria van Keulen2019-10-108-9/+166
| | | | | | | | | | | (cherry picked from commit 294a8f68615710b47936d5ee42439d01538ac746) SERVER-43322 Disallow oplog_sampling.js on inMemory storage enigne (cherry picked from commit b35dd89515473c97a87b3c06897e8a7ab51c93cc) This backport was not a straightforward cherry-pick due to SERVER-40168 existing in master and not v4.2.
* SERVER-25025 Make startup faster with many WT collectionsLouis Williams2019-10-0911-79/+169
| | | | | | | | | | | | | | This makes two major improvements: (1) WiredTiger "metadata:create" cursors are very expensive; only use these when absolutely necessary, and use standard "metadata:" cursors everywhere else. This lowers startup calls to "metadata:create" from 3 to 1 per table. (2) No longer open a cursor for every WiredTiger collection at startup. Instead, lazily open cursors to initialize RecordIDs for inserts. (cherry picked from commit ba9670e4c6d3aa62db20501317457af99049570c)
* SERVER-42915: Do not require a resync when repair encounters orphaned ↵Daniel Gottlieb2019-09-166-34/+111
| | | | | | collection objects. (cherry picked from commit f4e387fa1b7e369ce067650bdda9c8676683b929)
* SERVER-43074: Make appendMultikeyPathsAsBytes threadsafe.Daniel Gottlieb2019-08-301-1/+2
| | | | | | | The method previously relied on catalog level serialization for guaranteeing serialized access to a global variable. (cherry picked from commit eb47871d19c81d08827f83df0554ce2c83cd8487)
* SERVER-43075: Reintroduce startup options for journal flush frequency.Daniel Gottlieb2019-08-301-2/+1
| | | | | | They were mistakenly removed when purging MMAPv1 options. (cherry picked from commit 37401025da331437884a57bae3af8c7ebbf1d8e1)
* SERVER-41492 Create concurrency suites to disable WiredTiger cursor cachingLouis Williams2019-08-272-1/+34
| | | | | | | | | | | | | | | | | | and enable more aggressive file handle sweeps (cherry picked from commit 407bf9be594278ac505fb089ec17dfef62ac0e25) Add tunable parameters for WiredTiger file manager options (cherry picked from commit 70a987f5efd85c3162823e8a07f49566b10d2020) Add configurable WiredTiger close_scan_interval setting (cherry picked from commit 0359ce62e90df692b4fb0a2bf68755a6988d9ede) Fix yaml lint (cherry picked from commit 4a1d30014c12bae57caf423b695378fdc6fea6c9)
* SERVER-42800 do no reconcile sizes on hybrid index side tablesBenety Goh2019-08-271-1/+2
| | | | (cherry picked from commit f643ad5e9d5c6c3283271c492a78831a5f6ec180)
* SERVER-42800 add support for overriding size adjustments to ↵Benety Goh2019-08-276-0/+23
| | | | | | WiredTigerRecordStore (cherry picked from commit 4193c52a217feff5f842158a192f8cefb8a3cb03)
* SERVER-42917 Ignore nonsensical wall clock readings in lag calculationMaria van Keulen2019-08-221-11/+17
| | | | (cherry picked from commit 0dbb48618e221d378fa25e9a718ea1ee7fb74c4f)
* SERVER-40004 Modified compareAndSwap to return booleanShelley Jain2019-08-161-9/+2
| | | | (cherry picked from commit c56c3d58260b734eb0a40dabf87ee4be4823b7ed)
* SERVER-42060 Limit maximum recursion depth for KeyString toBsonValueLouis Williams2019-08-152-11/+62
| | | | (cherry picked from commit 43503a9e56fbf3a0fbdd4e780b1ec438ccc74ee4)
* Revert "SERVER-42060 Limit maximum recursion depth for KeyString toBsonValue"Louis Williams2019-08-152-63/+11
| | | | This reverts commit ae3d5c001957ba70d366ccb16209f61869e4c9f2.
* SERVER-42060 Limit maximum recursion depth for KeyString toBsonValueLouis Williams2019-08-142-11/+63
| | | | (cherry picked from commit 43503a9e56fbf3a0fbdd4e780b1ec438ccc74ee4)
* SERVER-42069 uassert when decimal positive infinity is encoded in KeyString V0Louis Williams2019-08-142-1/+20
| | | | (cherry picked from commit dd829219438e556f4635eb5b6a31bc1158b10155)
* SERVER-42067 Ensure key Ordering offset does not exceed the maximum number ↵Louis Williams2019-08-141-0/+14
| | | | | | of compound index keys (cherry picked from commit fe4ca9897f8b8e91dc82fc15250e287da68cc83f)
* SERVER-42803 Remove 'no except' from the TimestampMonitor.Gregory Wlodarek2019-08-141-4/+4
| | | | | | This prevented InterruptedAtShutdown exceptions from getting caught at the TimestampMonitor layer. (cherry picked from commit 05d641c6cc47257783252e04160e4ef895a34f52)
* SERVER-42803 Remove unnecessary OperationContext creation logic in the ↵Gregory Wlodarek2019-08-141-5/+2
| | | | | | TimestampMonitor (cherry picked from commit e43a0409e98992d5521749230874eba2d8fe0748)
* SERVER-41937 Add a try-catch around notifyAll() inside startup() for the ↵Gregory Wlodarek2019-08-141-22/+23
| | | | | | Timestame Monitor as calling notifyAll() can throw an InterruptedAtShutdown exception (cherry picked from commit 181ad8eeaaf0a0c636713699f8e110a3e94af125)
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-2671-361/+292
|
* SERVER-42110 uassert that the integer part of a v0 numeric KeyString value ↵Louis Williams2019-07-262-0/+24
| | | | | | is less than 2^53 (cherry picked from commit f60d85ed3082778dd4bacd9f555648215cce7d48)
* SERVER-41861 Simplify the concurrency between timestamp_transaction and ↵Gregory Wlodarek2019-07-261-5/+7
| | | | | | commit_transaction in WiredTigerRecoveryUnit::_txnClose() (cherry picked from commit 65f608a4b17440d75ece209e209401e1d74ad638)
* SERVER-41861 Replace 'all_committed' with 'all_durable'Gregory Wlodarek2019-07-2617-66/+70
| | | | (cherry picked from commit 25d5f6a0b01f261e633587013e4ab8116ea2930a)
* SERVER-39936 Use PeriodicRunner handles to simplify shutdown orderingBen Caimano2019-07-257-9/+13
|
* SERVER-42374 TimestampMonitor should stop its PeriodicJob prior to ↵Gregory Wlodarek2019-07-241-3/+7
| | | | destructing itself
* SERVER-42285 Add index field names to keyValue when constructing ↵James Wahlin2019-07-223-2/+75
| | | | | | DuplicateKeyErrorInfo (cherry picked from commit 901e368a28c966a99168b4ff43b7b48caafbe876)
* SERVER-39004 Introduce a quota mechanism for the overflow fileAlex Cameron2019-07-1412-2/+110
| | | | (cherry picked from commit b29c22ad4b89dccca63bd2a279c48f47f76093d1)
* SERVER-41916 Log ident information upon WiredTiger alter failureMaria van Keulen2019-07-101-2/+8
|
* SERVER-41561 add SnapshotTooOld error counting metric to serverStatusDianna Hohensee2019-07-092-0/+4
| | | | (cherry picked from commit 823c44416e3aef98796ae0aecb6f574ad71f7c94)
* SERVER-41560 default the snapshot window size to 0 when running with the WT ↵Dianna Hohensee2019-07-091-0/+12
| | | | | | inMemory storage engine (cherry picked from commit 164e785735f0fd8db2e0c68b86c2278ddc92a671)
* Revert "SERVER-36956 SnapshotTooOld errors will always increase the snapshot ↵Dianna Hohensee2019-07-0913-49/+48
| | | | | | | | history window size" This reverts commit 8899b34e1044b08aec7ad9f8546652456472702c. (cherry picked from commit 8bb53a07a5c593d85b6229a2afe096b3e1efe21d)
* SERVER-41255 enable debug write-ahead logging for all WT tables under debug ↵Benety Goh2019-07-051-0/+6
| | | | | | build (cherry picked from commit c909ba6087c4ed434513e4d39d310a4969d0c070)
* SERVER-41034 Invariant if we get a prepare conflict inside ↵Vesselina Ratcheva2019-07-031-0/+6
| | | | | | runWithoutInterruptionExceptAtGlobalShutdown block (cherry picked from commit 3d7e1566f455b2ba17ccf661f78eff6fefe5e1ee)
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-07-0314-254/+95
| | | | (cherry picked from commit 2597e7fbe3c09683408b82b8b854023d6c2dbbf2)
* SERVER-41865 Change naming and location of KVCatalog and StorageEngineImplXiangyu Yao2019-07-0225-392/+401
| | | | (cherry picked from commit aab7e250084c68a80fe7a48179f46d07b195af07)
* SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalogXiangyu Yao2019-06-2828-737/+1054
| | | | (cherry picked from commit 77ccfbefcd740051597d1cb4eb36d25776926f72)
* SERVER-41913 Avoid in-place modify operations for logged collections.Michael Cahill2019-06-262-6/+12
| | | | (cherry picked from commit 8b1d5ef199d881ab4fce61e585006436e9e6d2d1)
* SERVER-41644 Expose explicit encryption helpers in community shellMark Benvenuto2019-06-242-8/+4
| | | | (cherry picked from commit c436b8090417baf847143e97f5d221285b1898e1)
* SERVER-41601 mongocryptd pid file should contain connectivity informationMark Benvenuto2019-06-244-27/+30
| | | | (cherry picked from commit 9382259ce8399ce75c17d517112ac9bab230b01d)
* SERVER-41352 Incorrect verbose configuration in the wiredtiger connection stringZach Yam2019-06-211-3/+3
| | | | (cherry picked from commit 99e7f57e7e5eb63f22e2b582a10e78c197b835e6)
* SERVER-40478 Merge StorageEngine class with KVStorageEngineXiangyu Yao2019-06-2124-148/+157
| | | | (cherry picked from commit b4f508babb7c3e31c101e62e4411f12476e9c6d8)
* SERVER-41779: reconstructPreparedTransactions should use readSource kNoTimestampLingzhi Deng2019-06-211-1/+4
| | | | (cherry picked from commit f1dcaea4a97903fa7c785f31c55f484d275a5aed)
* 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-41525 Use ignore_prepare=force for transactions that correctly do ↵Louis Williams2019-06-149-57/+125
| | | | | | writes while ignoring prepare conflicts (cherry picked from commit c23da6ac95bf5f687b6d21f2cc86f4775be88cd5)
* SERVER-41422 Allow the absence of the 'ns' field from index specsGregory Wlodarek2019-06-119-16/+86
|
* SERVER-41287 Measure count and duration of periods when isLagged is trueMaria van Keulen2019-06-062-17/+28
| | | | (cherry picked from commit c27cafcd34190924cd62267fa8b42baf3caa69cb)
* SERVER-17311 Ensure BSONObj, RecordData, and SharedBuffer are noexcept moveableAlya Berciu2019-06-031-0/+5
|
* SERVER-41345 Do not Flow Control after ticket refresher has shut downMaria van Keulen2019-05-311-4/+4
|
* SERVER-41340 Enable Flow Control by defaultMaria van Keulen2019-05-311-1/+1
|
* SERVER-41344 Format using fmt/format instead of snprintfGeert Bosch2019-05-315-67/+201
|