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

52042 Commits

Author SHA1 Message Date
Xuerui Fa
a29647888b SERVER-48250: Wait for hang in majority write before stepping down primary in write_concern_after_stepdown_and_stepup.js 2020-05-18 21:53:41 +00:00
Pavi Vetriselvan
c15f21fa5f SERVER-46958 add mongosShutdownTimeoutMillisForSignaledShutdown server parameter 2020-05-18 21:01:55 +00:00
Tommaso Tocci
7812e129b6 SERVER-48278 Fix waits for RSM removal in sharding/remove2.js test
`sharding/remove2.js` is waiting for the ReplicaSetMonitor timeout in order to be able re-add a shard after its removal.

Instead of waiting 60s for the RSM to be removed from the interesting nodes, pols the connectionsPoolStats of these nodes until it is actually removed.

The new polling approach is reducing the test execution time on Enterprise RHEL 6.2  run time form ~2:40 to ~1:40

This commit also unblacklist the sharding/remove2.js test from the multiversion suites. Because the new polling approach solves BF-17247.
2020-05-18 20:48:41 +00:00
Tess Avitabile
756ad8eb9c SERVER-48265 Fix and-ordering when appending topology version to shutdown errors 2020-05-18 20:36:08 +00:00
Gabriel Russell
bab691491a SERVER-46933 reformat the json startupWarnings 2020-05-18 20:23:42 +00:00
Gabriel Russell
eafd8199cb SERVER-46932 supress more logging in the shell 2020-05-18 20:11:34 +00:00
Ben Caimano
9395bf07b2 SERVER-47437 Synchronize and unify NetworkInterfaceTL state components
This patch does the following:
- Fixes a use-after-move scenario with operationKey.
- Alters the cancelation pattern to kill remotely first, then locally.
- Initializes the requestManager and timer members in the
  CommandState*::make() function.
- Uses the existing mutex to synchronize connection resolution and
  cancelation.
- Attempts to bind std::shared_ptr<RequestState> only to the request
  path.
2020-05-18 19:59:43 +00:00
Brian McCarthy
20de257ec7 SERVER-44071 Platform Support: Add Community & Enterprise Ubuntu 20.04 ARM 2020-05-18 19:00:47 +00:00
Katherine Wu
972ce94f18 SERVER-46998 Support 'let' variables used within $merge custom pipeline update 2020-05-18 17:58:41 +00:00
Siyuan Zhou
e8c93d3278 SERVER-48257 Reject reconfig via heartbeat during election. 2020-05-18 17:46:35 +00:00
Cheahuychou Mao
dc0456d4c6 SERVER-47249 Add the "The sessions catalog" section to the sharding arch guide 2020-05-18 16:35:37 +00:00
Svilen Mihaylov
cbd23d4007 SERVER-47994 Fix for numerical overflow in GeoHash (part 2) 2020-05-18 15:38:37 +00:00
Nick Zolnierz
df291c4581 SERVER-48049 Fix establish_cursors_test race when interrupting a remote request 2020-05-18 14:12:36 +00:00
Jack Mulrow
3443942471 SERVER-48246 Wait for RSM to detect failover in range_deleter_interacts_correctly_with_refine_shard_key.js 2020-05-18 13:54:48 +00:00
William Schultz
9127355883 SERVER-29030 Announce new primary via heartbeat requests 2020-05-18 13:36:45 +00:00
Luke Chen
cf46145195 Import wiredtiger: 32b5f903dbc021b570feea50eb48453c17cd0e89 from branch mongodb-4.4
ref: 90a2282276..32b5f903db
for: 4.5.1

WT-5679       Set the oldest history store checkpoint timestamp as oldest timestamp during restart
WT-6083       Enable row-store tables in checkpoint-test
WT-6148       Add new update to the history store with valid stop timestamp
WT-6177       Fix direct I/O configurations failure combined with mmap configurations
WT-6190       Review time window validation
WT-6222       Never append prepared update in __rec_append_orig_value
WT-6223       Insert a full value into history store if the newer update is a prepared update
WT-6224       Adding a globally visible tombstone when an on disk prepared update is rolled back
WT-6227       Fix testutil macro usage and add block backup to smoke.sh
WT-6235       Change operation order of prepared commit and rollback
WT-6242       Set flag on prepared updates when they're restored from disk
WT-6245       Handle aborting prepared onpage tombstones
WT-6246       Cleanup stop timestamp and pass the correct timestamp to the cell
WT-6247       Fix modify visibility in history store
WT-6252       Remove mutable read timestamp from transaction structure
WT-6253       Fix time window validation for out of order timestamps
2020-05-18 10:22:12 +00:00
Kevin Pulo
db424dad99 SERVER-48212 only output unittest suite start/end/results if any tests were actually run 2020-05-18 08:22:38 +00:00
Kevin Pulo
9f6af24864 SERVER-46881 Forbid adding nodes to initializer graph after starting initializer execution 2020-05-18 08:08:44 +00:00
Esha Maharishi
d0e6f87351 SERVER-47992 Make disableResumableRangeDeleter just prevent ranges from being submitted for deletio 2020-05-18 04:14:45 +00:00
Kaloian Manassiev
7e2111ef33 SERVER-46154 Pull the InProgressLookup outside of ReadThroughCache
The InProgressLookup tracking already has quite complicated logic, so it
seems prudent to pull it into a separate class, outside of the
ReadThroughCache so it can be tested independently.
2020-05-17 15:16:51 +00:00
Jacob Evans
a7f769dd59 SERVER-47713 Change Expression code to remove intrusive ExpressionContext 2020-05-16 01:30:05 +00:00
Henrik Edin
6b38c78843 SERVER-48148 Cleanup of execution logs in db/ 2020-05-15 20:44:35 +00:00
Svilen Mihaylov
2c0306062f SERVER-47994 Fix for numerical overflow in GeoHash 2020-05-15 19:21:56 +00:00
Dianna Hohensee
26cff8f010 SERVER-48240 Undo accidental functional change to WiredTigerOplogManager that causes a performance degradation 2020-05-15 19:09:47 +00:00
Cheahuychou Mao
e9666e1a6f SERVER-47972 Increase maxTimeMSForHedgedReads to give shards time to refresh 2020-05-15 18:57:47 +00:00
Vesselina Ratcheva
50c7d9d61a SERVER-46807 Test adding multiple new nodes to a replica set at the same time 2020-05-15 18:40:41 +00:00
Suganthi Mani
45b91db74d SERVER-48082 WT clean shutdown should do a quick exit before shouldDowngrade() check if the node is not safe to take stable checkpoints. (cherry picked from commit0b9f132bd60875a276f3cdaa53efe5e5bb5d1f0b) 2020-05-15 18:26:49 +00:00
Matthew Russotto
27a5e2142d SERVER-48108 ConnectToBridge should be resilient to transient failures on the control connection 2020-05-15 18:14:35 +00:00
Gregory Wlodarek
e4e8a73388 SERVER-48235 The primary node should use the AsyncDBClient to vote for committing the index build to allow the request to be interrupted by the IndexBuildsCoordinator 2020-05-15 17:43:43 +00:00
Benety Goh
065d4ab364 SERVER-48171 update fail point usage in indexbuildentryhelpers::getIndexBuildEntry() 2020-05-15 17:31:28 +00:00
Jamie Heppenstall
c8708d0075 SERVER-48193 Update GDB command to dump all stashed RecoveryUnits 2020-05-15 17:18:44 +00:00
Andrew Morrow
7ebf6ac444 SERVER-48139 Dagger should depend on install-all-meta in hygienic mode 2020-05-15 17:02:49 +00:00
Benety Goh
81acea044b SERVER-48171 consolidate implementations for FailPoint waiting functions 2020-05-15 16:50:45 +00:00
Ryan Egesdahl
2dc2b30e10 SERVER-40711 Update zstd dependency from version 1.4.3 to 1.4.4
The zstandard library has a new version that is supposed to have an 8%
increase in compression speed. This is a simple dependency version bump.
2020-05-15 16:21:47 +00:00
Jack Mulrow
f35cd4090e SERVER-48242 Make stepup in range_deleter_interacts_correctly_with_refine_shard_key.js more robust 2020-05-15 16:09:42 +00:00
Daniel Gottlieb
0553eb7506 SERVER-48230: Release cursor resources for special oplog functions. 2020-05-15 15:57:42 +00:00
Benety Goh
e9d23f4045 SERVER-48171 FailPoint wait functions accept Interruptible 2020-05-15 15:41:45 +00:00
Benety Goh
2787a803ac SERVER-48171 add missing headers to .cpp files in preparation for FailPoint API change 2020-05-15 15:08:43 +00:00
Louis Williams
b3a5b5258a 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.
2020-05-15 14:55:57 +00:00
Henrik Edin
0da349c13b SERVER-48148 Log cleanup in db/storage/wiredtiger 2020-05-15 14:07:54 +00:00
Henrik Edin
0e88ea0ecc SERVER-48141 Fix crash in radix store merge3 when merging trees sharing branches not in base 2020-05-15 13:40:50 +00:00
Henrik Edin
b3bb8e9c09 SERVER-48148 Log cleanup in db/storage 2020-05-15 13:28:37 +00:00
Henrik Edin
0b414d2c97 SERVER-48140 Erase of internal nodes in radix tree is not allowed and should fail 2020-05-15 13:11:38 +00:00
Benety Goh
285193c88f SERVER-48093 plan_cache_drop_database.js should catch DatabaseDropPending errors 2020-05-15 12:52:48 +00:00
Luke Chen
213de387cd Import wiredtiger: 90a2282276ccc25fcc662e6ebef6fbc91d0ff0af from branch mongodb-4.4
ref: 4cf221a61f..90a2282276
for: 4.5.1

WT-6042       Changes to checkpoint04 to remove or debug failures on Windows
WT-6165       Fix cursor operation hung on WT_PREPARE_CONFLICT
WT-6173       Change __wt_time_window_ functions to macros
WT-6174       Fix dhandle->session_inuse counter leak in __evict_walk
WT-6195       Ensure that we don't perform rollback to stable without a history store
WT-6214       format.sh must disassociate from the child process
2020-05-15 06:54:53 +00:00
Luke Chen
a3ab985544 SERVER-48208 Increase build frequency for WiredTiger develop build variants 2020-05-15 05:59:54 +00:00
Markus Alexander Kuppe
34ca0408f8 SERVER-48226 Improve TLA+ CI
"-workers auto" automatically detects available parallelism,
"OffHeapDiskFPSet" uses a concurrency optimised fingerprint set, and
ExecutionStatisticsCollector sends usage stats to exec-stats.tlapl.us

Closes #1361

Signed-off-by: A. Jesse Jiryu Davis <jesse@mongodb.com>
2020-05-14 23:32:41 +00:00
Pavi Vetriselvan
790afa3c2b SERVER-48099 Increase shutdownTimeout in election_handoff_via_signal.js 2020-05-14 23:10:40 +00:00
Dianna Hohensee
aebf6a5d01 SERVER-47803 Move the database level profile setting from Database into CollectionCatalog 2020-05-14 22:17:25 +00:00
Jack Mulrow
9d8eb69d58 SERVER-48198 Account for extended range bounds when recovering migration decision 2020-05-14 21:58:15 +00:00