0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

51512 Commits

Author SHA1 Message Date
Tess Avitabile
ab61e34c1a SERVER-47435 Incrementing topologyVersion for FCV change must update awaitingTopologyChanges 2020-04-10 20:44:39 +00:00
Ian Boros
c4bca20e65 SERVER-47405 improve performance of sort key generation by avoiding creation of non-OK Status 2020-04-10 18:12:39 +00:00
Matthew Russotto
0cfd1f9779 SERVER-47089 Create IDL for ReplSetConfig "settings" object. 2020-04-10 17:48:42 +00:00
Kaloian Manassiev
7645ff98bb SERVER-46703 Make checkShardVersionOrThrow throw SSV if the metadata is not known
Introduces a checkShardVersionOKOrThrow_DEPRECATED variant so that we can incrementally fix the places, which are not prepared to catch StaleConfig exceptions.
2020-04-10 17:31:40 +00:00
Gregory Wlodarek
bc94db6b53 SERVER-47164 Drop any existing indexes conflicting with the specs from the startIndexBuild oplog entry during initial sync 2020-04-10 17:18:39 +00:00
Gregory Wlodarek
5abfdd53a7 SERVER-47087 dropDatabase interrupted due to a replication state change must reset the dropPending flag before exiting 2020-04-10 17:05:40 +00:00
Mark Benvenuto
905011e695 SERVER-47187 Add startup warning when SeIncreaseWorkingSetPrivilege not present 2020-04-10 16:48:01 +00:00
Mark Benvenuto
d51e93a173 SERVER-42955 Call explicit_bzero where available 2020-04-10 16:30:56 +00:00
William Schultz
ce27e3b631 SERVER-47467 Initiate set with high election timeout in reconfig_waits_for_config_durability.js 2020-04-10 15:46:38 +00:00
Gregory Noma
4adcb62e1b SERVER-47423 Take collection MODE_X locks instead of databse MODE_X lock in cloneCollectionAsCapped 2020-04-10 15:34:40 +00:00
Henrik Edin
da923cf720 SERVER-47001 Added a pooled KeyString builder.
It uses a memory pool in the execution context to be able to share a
larger memory buffer for multiple KeyStrings.

Added SharedBufferFragment and SharedBufferFragmentBuilder to achieve this.
2020-04-10 15:02:47 +00:00
Louis Williams
3d929ed533 SERVER-46560 Make abort index build deterministic
This redesigns user index build abort to have the following behavior:
- Take a collection X lock to stop the index build from making progress
- If we are no longer primary, return an error
- Check whether we can abort the index build (i.e. it is not already committing
  or aborting)
- Delete the index catalog entry and write the abortIndexBuild oplog entry in a WUOW
- Interrupt the index builder thread
- Wait for the thread to exit
- Release locks
2020-04-10 14:16:22 +00:00
Maria van Keulen
76d4548a75 SERVER-47400 Disallow createCollection/Indexes on system colls in txns 2020-04-10 13:59:44 +00:00
Henrik Edin
3f2ae017eb SERVER-47421 Make timestamped_reads_wait_for_prepare_oplog_visibility.js work in multiversion suites 2020-04-10 13:47:35 +00:00
Gregory Noma
0b8ad57850 SERVER-45936 Remove enableHybridIndexBuilds parameter 2020-04-10 13:12:27 +00:00
Lamont Nelson
d65c4e67ff SERVER-47121: Introduce pre/post handshake error handling in the RSM 2020-04-10 03:15:45 +00:00
William Schultz
9c5d82ff1f SERVER-46720 Allow non strict replication message parsing 2020-04-10 00:34:43 +00:00
Spencer T Brody
90e56683e8 SERVER-45133 Dump mutex info in hang analyzer
This reverts commit cbf705e93a73052045e7157380748198b427bcd5.
2020-04-09 23:10:40 +00:00
Lingzhi Deng
560ee7f0ac SERVER-47071: Fix TypeError after the CheckReplOplogs hook fails 2020-04-09 22:59:36 +00:00
Cheahuychou Mao
f6da2d6de8 SERVER-47384 Remove TODO comment for SERVER-41070 2020-04-09 22:40:34 +00:00
Spencer T Brody
0651f3c7b6 SERVER-43442 Remove blocking call from AsyncWorkScheduler host targetting
Also updates some places relying on implicit conversion from Status to Future
to be explicit.
2020-04-09 22:20:47 +00:00
Gregory Noma
b0e3eed55a SERVER-47360 Take collection MODE_IX lock instead of database MODE_X lock when creating system.profile 2020-04-09 21:56:33 +00:00
Judah Schvimer
437b5f3152 SERVER-47369 doReplSetReconfig should fail during primary drain mode 2020-04-09 21:39:39 +00:00
Jack Mulrow
721a6be0ed SERVER-43468 Complete TODO listed in SERVER-38690 2020-04-09 21:00:39 +00:00
Suganthi Mani
4c41ed37fd SERVER-46557 Guarantees the commit quorum value gets persisted before start of the index build. 2020-04-09 20:30:23 +00:00
A. Jesse Jiryu Davis
b69c1496a9 SERVER-47157 Require ReplSetMetadata.configTerm 2020-04-09 20:12:38 +00:00
Louis Williams
e9379fcee7 SERVER-47407 Avoid using WriteUnitOfWork in index build collection scan loop 2020-04-09 20:01:02 +00:00
Sara Golemon
79bb229cae SERVER-42829 Assert actions taken during setup/teardown 2020-04-09 19:49:33 +00:00
Gregory Noma
ff483e300c SERVER-47317 Take collection MODE_X locks instead of database MODE_X lock in covertToCapped 2020-04-09 19:37:38 +00:00
Vincent Kam
8289739969 SERVER-46275 Add ECDSA w/OCSP support to cert gen tool 2020-04-09 19:21:38 +00:00
Tess Avitabile
5a798d10bf SERVER-46949 Add quiesce mode to the ReplicationCoordinator 2020-04-09 19:09:35 +00:00
Xuerui Fa
40ba53c90d SERVER-46348: Test behavior when user provides newlyAdded field in force reconfig 2020-04-09 18:51:46 +00:00
Tommaso Tocci
6328c0782c SERVER-45782 ensure internal-only usage of three CollectionShardingRuntime functions
- setFilteringMetadata
 - getCurrentMetadataIfKnown
 - getShardVersionIfKnown

Have been moved from CSS to CSR to ensure no external usages.

Moreover the getShardVersion command is now foribidden on unsharded
mongod. It will return ErrorCodes.NoShardingEnabled in such a
case.
2020-04-09 18:36:37 +00:00
Samy Lanka
2ad1252130 SERVER-44343 Make 'reIndex' a standalone-only command 2020-04-09 18:23:42 +00:00
Esha Maharishi
f8cf1b50f9 SERVER-44241 Complete TODO listed in SERVER-35534 2020-04-09 18:11:35 +00:00
Gregory Wlodarek
8efaacf43c SERVER-43044 IndexBuildsCoordinatorMongod reports operation statistics for slow ops 2020-04-09 17:59:37 +00:00
Billy Donahue
d7db0e15e0 SERVER-46801 tabular LogComponent defs 2020-04-09 17:42:49 +00:00
Shreyas Kalyan
582afa698c SERVER-47297 Define file structure for security archicture guide 2020-04-09 17:20:47 +00:00
Jack Mulrow
177d55adfd SERVER-43425 Remove TODO listed in SERVER-37045 2020-04-09 16:43:53 +00:00
Mihai Andrei
c2d9a6418a SERVER-46544 Unblacklist tests in aggregation_secondary_reads passthrough 2020-04-09 16:30:57 +00:00
Cheahuychou Mao
a8f80d013e SERVER-45624 Make the balancer split the sessions collection 2020-04-09 16:17:38 +00:00
Benety Goh
8c1eac6d1a SERVER-47252 remove DatabaseIndexBuildsTracker and CollectionIndexBuildsTracker 2020-04-09 16:05:44 +00:00
Benety Goh
f91e5e8be9 SERVER-47252 IndexBuildsCoordinator stops using CollectionIndexBuildsTracker 2020-04-09 14:18:56 +00:00
Henrik Edin
64499bcd77 SERVER-47350 Add execution context as a decoration to OperationContext
It is meant to be a container for reusing temporary objects within an operation instead of creating and destroying new instances.

At the moment, used for index building where it keeps data structures for KeyStringSet and MultikeyPaths.
2020-04-09 13:23:51 +00:00
Benety Goh
191f5e0b2f SERVER-47252 IndexBuildsCoordinator stops using DatabaseIndexBuildsTracker 2020-04-09 11:44:39 +00:00
Luke Chen
96727ea47d Import wiredtiger: da6c25fee0c5c9b0376df0dc19caa40a553cc5a2 from branch mongodb-4.4
ref: 5b5d798856..da6c25fee0
for: 4.5.1

WT-5527       Free the onpage updates when restoring update chains
WT-5675       Prepare support with durable history: workgen changes
WT-5778       Simplify __rec_append_orig_value
WT-5796       Speed up verification of file's associated history store information
WT-5811       Mark ASAN tests as running on a slow machine
WT-5909       Coverity unused value issue
WT-5930       (4.4-only) Journaled data from 4.2 binaries not recovered at startup
WT-5932       Rollback to stable aborting on-disk updates for in-memory database
WT-5938       Fix a memory corruption in rollback to stable
WT-5941       Document how eviction works in durable history
WT-5943       Consider WT_TS_NONE timestamped update also a valid update for rollback to stable
WT-5944       Relax test_wt2853_perf performance parameters temporarily
WT-5948       Search shouldn't ignore globally visible tombstone of history store
WT-5952       Fix freeing updates racing with application threads
WT-5953       Fix format CONFIG file "mmap_all" syntax incompatibility
WT-5961       Respect write generations when constructing the root addr
WT-5965       Ignore leading whitespace in format CONFIG files
WT-5967       Remove named snapshot support
WT-5978       Unstable prepared updates causing the update chain to be unnecessarily restored
WT-5979       Add Evergreen release compatibility test for forward compatibility
WT-5983       Remove diagnostic tests left over from WT-5043
WT-5985       Turn off format testing for relaxed isolation levels
WT-5987       Turn off history store verification in the WT_SESSION.verify method
WT-5988       Do not write log records as part recovery rollback to stable operation
WT-5993       Restore disk page header version
WT-5994       Turn off format testing for relaxed isolation levels (part 2)
2020-04-09 09:23:51 +00:00
Siyuan Zhou
6e182b5c90 SERVER-47430 Update TLA+ to only vote for candidate with same config version and term as self 2020-04-09 04:19:34 +00:00
Dianna Hohensee
aa30f3747a SERVER-47258 Refactor the WiredTigerOplogManager: improve names, comments, logs. 2020-04-08 23:49:41 +00:00
jannaerin
14a5bcab6e SERVER-47361 Add test that TopologyStateMachine checks electionId before updating TopologyDescription 2020-04-08 23:24:39 +00:00
Benety Goh
3a3c57881f SERVER-47252 IndexBuildsCoordinator::waitForAllIndexBuildsToStopForShutdown() stops using DatabaseIndexBuildsTracker 2020-04-08 22:53:39 +00:00