summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-62065 Introduce the 'repairShardedCollectionChunksHistory' commandKaloian Manassiev2022-01-1014-36/+437
| | | | (cherry picked from commit 146c18b9954abc116046621dc4849cc7d97ef523)
* SERVER-61976 Retry failed shard version refreshes on step upBrett Nawrocki2022-01-071-14/+21
| | | | | | | | | | | | | | | | On step-up, shards will clear the filtering metadata and schedule a shard version refresh for the source collection and the temporary resharding collection. It is possible for the shard version refresh triggered through onShardVersionMismatch() to error and not complete the shard version refresh. This can leave a recipient shard waiting to learn all donor shards are prepared to donate or can leave a donor shard waiting to learn all recipient shards have finished cloning. Therefore, shards now will retry on errors until the refresh successfully completes. (cherry picked from commit 70417bcbe6ca27b9e20455de5e77313ef68c648a) (cherry picked from commit 00591f7a441e452d70af288a4376272a52fcd638)
* SERVER-60959 Remove assumptions about error type when aborting a time-series ↵Dan Larkin-York2022-01-072-16/+0
| | | | insert batch
* SERVER-61590 Add null check before accesssing time-series options in the ↵Arun Banala2022-01-071-9/+16
| | | | | | shardCollection code path (cherry picked from commit fcea6b10c2ea966433cf009382bf432c9afe1e20)
* SERVER-61105 Fixed log spam in moveChunk session migrationMatt Boros2022-01-061-9/+8
| | | | (cherry picked from commit 8e681e80447e5859f79296e10911ffec39f31efa)
* SERVER-58035 Remove db.runCommandWithMetadata from mongo shellBlake Oler2022-01-064-59/+0
| | | | (cherry picked from commit 02c07c102b0c6d97085fb02805b0e41dedca0a46)
* SERVER-61195 Scale BucketCatalog memory limit based on RAM sizeDan Larkin-York2022-01-0510-33/+95
|
* SERVER-61005 rs.initiate() fails with "Invariant failure" under specific ↵Huayu Ouyang2022-01-053-17/+21
| | | | | | startup options (cherry picked from commit 684d193982c2b53821f74c86cce76d88e90c5b15)
* SERVER-61201 Prevent deadlock when user tries to create a view on the ↵r5.0.6-rc0Dianna Hohensee2022-01-041-0/+8
| | | | | | database system.views collection (cherry picked from commit dfce26e49c0c124db64cab66036bfd92388fc31d)
* SERVER-62245 MigrationRecovery must not assume that only one migration needs ↵Jordi Serra Torrens2021-12-303-24/+44
| | | | | | to be recovered (cherry picked from commit 8e6ab9a259d921298940190161fadfd118c6dc15)
* SERVER-62296 MoveChunk should recover any unfinished migration before ↵Jordi Serra Torrens2021-12-303-0/+36
| | | | | | starting a new one (cherry picked from commit dd35d0eae5c81db28eb618ae0ae588e32a4a617a)
* SERVER-62207 Make ReshardCollectionCoordinator store an owned BSON object ↵Jordi Serra Torrens2021-12-292-1/+5
| | | | | | for the command (cherry picked from commit 5eab3ca8acaa0e8004c50112187b6809667157a2)
* SERVER-61637 Increase default range deletion batch sizePierlauro Sciarelli2021-12-241-2/+3
|
* SERVER-62243 Wait for vector clock document majority-commit without timeoutPierlauro Sciarelli2021-12-249-28/+45
|
* SERVER-61003 ReadConcernMajorityNotAvailableYet errors from ShardRegistry ↵Pierlauro Sciarelli2021-12-232-3/+28
| | | | must be retried
* SERVER-62212 Support writeConcern for dbCheck batchesLouis Williams2021-12-232-23/+45
| | | | | | | The dbCheck command accepts a `batchWriteConcern` option in the form of a writeConcern document. The default behavior is w:1 with no wtimeout. (cherry picked from commit 0e0bdb41cf80cfa3e151b3aba3a5ebb77714c06e)
* SERVER-62210 Fix dbCheck progress meter for dropped and recreated collectionsJosef Ahmad2021-12-221-3/+8
| | | | (cherry picked from commit 1bb26e23c16f3f43ef477fc91cacabdf962d16f0)
* SERVER-56127 Fixing retryable writes on update and delete commands to not ↵Bobby Morck2021-12-226-2/+163
| | | | | | execute more than once (cherry picked from commit 6d8290297b563121037f8e9a9f2d37ec45ddb4bf)
* SERVER-62022 Reduce dbCheck info logging in prod, log start/stopJosef Ahmad2021-12-215-52/+170
| | | | (cherry picked from commit f328a35d74b1b98497d3b57db631d51e2c6b4e29)
* SERVER-62023 Add dbCheck currentOp progress meterJosef Ahmad2021-12-211-8/+23
| | | | (cherry picked from commit e386d65719fe60060d079f06e72ad0873f465cfb)
* SERVER-61955 Make dbCheck a generally available commandJosef Ahmad2021-12-204-16/+14
| | | | | | | Remove the dependency on enableTestCommands and make dbCheck available to users with clusterManager built-in role. (cherry picked from commit eddd659580fc123251a0bb0430bf10faf1732f2d)
* SERVER-61757 Add configurable dbCheck batch sizeJosef Ahmad2021-12-202-4/+37
| | | | (cherry picked from commit c67b5eb3b1c009f8ed794daae6b01539ca7a23b2)
* SERVER-61275 Destruct the size storer after the session cache has shutdownGregory Wlodarek2021-12-201-3/+10
| | | | (cherry picked from commit 81569b78ee627263a8e2240e87d46946971aadde)
* SERVER-61754 dbCheck does not hold strong locks during batchesLouis Williams2021-12-206-101/+166
| | | | | | | | | The dbCheck command accepts an optional (default true) parameter, 'snapshotRead', that uses point-in-time reads to check each batch. When true, dbCheck does not block writes. When set to false, dbCheck reverts to blocking writes. (cherry picked from commit da10567348cf7883e2ec40a441e38efc17c23385)
* SERVER-57588 Inconsistent query results when an array position is indexed ↵Timour Katchaounov2021-12-202-0/+51
| | | | | | whose value is an array (cherry picked from commit 90699509e15b33fda10832e79efcd158aee1f0eb)
* SERVER-62041 Add a maximum batch execution time to dbCheckJosef Ahmad2021-12-184-12/+43
| | | | (cherry picked from commit 18bf3b5fcf4e06fde48e3459d4020ce3db3fa29f)
* SERVER-30846 Run dbCheck in the background of some FSM testsLouis Williams2021-12-176-4/+57
| | | | | | | | | | This also makes various resiliency improvements to dbCheck (cherry picked from commit a82ac9642ec207f12714b99674aeafb974eb5c3b) SERVER-30846 Don't run hook outside latest FCV (cherry picked from commit 2c91d33874d9faf6140169efa54271480e42e6b2)
* SERVER-61852 Make dbCheck try acquire the collection lock with backoffJosef Ahmad2021-12-172-55/+139
| | | | (cherry picked from commit af390b7d689c98998c75215167554d819e1e94ae)
* Import wiredtiger: e2fbc4bbdcd419ca070ae5dc3b5452ba2c22f3a1 from branch ↵Luke Chen2021-12-175-16/+67
| | | | | | | | | | mongodb-5.0 ref: ad779a189c..e2fbc4bbdc for: 5.0.6 WT-8534 Allow retrieving checkpoint snapshot for backup restore recovery WT-8576 Enable logging in test checkpoint
* SERVER-61846 redact document using null instead of default mask to stay ↵Benety Goh2021-12-162-8/+21
| | | | | | under BSON limit (cherry picked from commit 886e09ce457d5cdbef16710678c386ec6765db3c)
* SERVER-61846 add redaction test for small fieldsBenety Goh2021-12-161-0/+13
| | | | (cherry picked from commit c8de2a7f419f2486780fed5ae06ade4e78aa2a5d)
* SERVER-61877 Remove catalog consistency verification from dbCheckJosef Ahmad2021-12-163-245/+4
| | | | (cherry picked from commit a7769499d4f46deb5c52cacad15c499a70e42683)
* SERVER-57289 redact should not convert BSONArray into BSONObjMark Benvenuto2021-12-152-6/+15
| | | | (cherry picked from commit 3b8806bef0f65df11e4d49786bf962ce0dd6b4dd)
* SERVER-61748 dbCheck: improve database-level locking and handling of special ↵Josef Ahmad2021-12-155-145/+107
| | | | | | | | | | | | collections * Acquire database lock in MODE_IS between batches * Acquire database lock in MODE_IS when listing collections * Remove MODE_IX lock acquisition of the local db * Downgrade severity to warning for collections that are not consistent by design * Downgrade severity to info for collections that are dropped partway through (cherry picked from commit ad3ba4b6ae53962de7b943bac4c4c50bd5d85002)
* SERVER-61097 SizeStorer flush uses 'operation_timeout_ms' to avoid deadlocks ↵Gregory Wlodarek2021-12-151-2/+17
| | | | | | with cache eviction (cherry picked from commit 57e351357ea73450df84b905674b127508aeb064)
* SERVER-60334 Avoid caching the cursor and session in WiredTigerSizeStorerGregory Wlodarek2021-12-154-44/+48
| | | | (cherry picked from commit 6da66799d036cfb42e18a75ca9bd2272574a814d)
* SERVER-60334 Remove unused KVEngine::okToRename() functionGregory Wlodarek2021-12-153-24/+0
| | | | (cherry picked from commit e5cb44d46d108c3cf3784621264bb04cd3c2f503)
* SERVER-61931 add additional privileges on system_buckets collection for ↵Rushan Chen2021-12-152-1/+28
| | | | cluster manager role
* SERVER-61214 Ensure having the latest known entry of the catalog cache when ↵Pierlauro Sciarelli2021-12-141-3/+14
| | | | creating config.system.sessions
* SERVER-61628 Do not reschedule range deletion task when orphans have been ↵Pierlauro Sciarelli2021-12-141-2/+2
| | | | fully deleted
* SERVER-55483 Add a new startup parameter that skips verifying the tableGregory Wlodarek2021-12-132-0/+32
| | | | | | logging settings (cherry picked from commit 9cbf52051d506a029546c1e7e28a5f77afd8bd46)
* SERVER-57037 Improve precision of operator countersMilena Ivanova2021-12-1314-33/+104
| | | | | (cherry picked from commit a7d667da957305b1532fa07059f2bec6b2be97b4) (cherry picked from commit 59aa9b7fd40e1a2c96c97b7dc214778e42039f27)
* SERVER-61479 Increase the number of retries to connect to a replica set ↵Gregory Wlodarek2021-12-131-1/+2
| | | | | | following a stepdown (cherry picked from commit 7759218ae41675e7d1cbcd796f8d801dd70708df)
* SERVER-61883 Read support for compressed time-series bucketsHenrik Edin2021-12-1038-381/+21652
| | | | Backport of bucket unpacking for compressed time-series buckets.
* SERVER-51476 upgrade to Abseil 20210324.1Billy Donahue2021-12-10700-12661/+104278
| | | | (cherry picked from commit defbe4582778e3da3abdc23c73ef7639543ab380)
* SERVER-61950 Make Fetcher::join() interruptible.Max Hirschhorn2021-12-104-10/+83
| | | | (cherry picked from commit 0241ba4289618d77b2f3b9a3a3d07a6d08d2c432)
* SERVER-61945 Refresh temp resharding ns during collection cloning.Max Hirschhorn2021-12-092-6/+17
| | | | (cherry picked from commit 19e8f275378c4ba4a2941ae2eb10249c915ed0f1)
* SERVER-57772 suppress state-change rewrite when `writeConcernError` is ↵Billy Donahue2021-12-085-10/+18
| | | | | | injected by `failCommand`. (cherry picked from commit 7396af4803b0b9b729c457f54defca0c4c51b61f)
* SERVER-61532 Expose opcounters to detect constraint violationsJudah Schvimer2021-12-082-9/+88
| | | | (cherry picked from commit 5f8a8c70d017bb424748a49ca31df01b2309e000)
* SERVER-61816 Add steps past kWaitingForVotes to assert.soonLuis Osta2021-12-081-1/+1
| | | | | | | | | (cherry picked from commit 6d1b572c7ddbba652ffa49dc3783fbd27cec9714) SERVER-60685 Add Interruption category to 'TransactionCoordinatorReachedAbortDecision' (cherry picked from commit 78ab98a46b53582a5e69424bbb92f25c483fec0a) (cherry picked from commit 7634ffa5d056aa5efcc12079d00da898e6f258fb)