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

52062 Commits

Author SHA1 Message Date
Cheahuychou Mao
35c86a14e2 SERVER-40441 Make arbiters not try to setup the sessions collection or check if it exists in LogicalSessionCache refresh/reap thread 2020-05-20 01:24:31 +00:00
Vesselina Ratcheva
9299e69498 SERVER-46355 Test running user reconfigs while newlyAdded is present 2020-05-20 00:52:35 +00:00
Billy Donahue
e25d6c9c19 SERVER-48116 fix init-order bug in pcrecpp::RE::Init 2020-05-19 21:47:49 +00:00
jannaerin
820cc0f7b7 SERVER-48298 Force refresh on removeShard and addShard 2020-05-19 21:21:44 +00:00
Eric Milkie
bd04cc8017 SERVER-48200 RandomCursor should explicitly check for EBUSY when opening a WT cursor 2020-05-19 21:09:44 +00:00
Daniel Gottlieb
ec8ef59980 SERVER-48294: Have internal oplog readers be resilient to EBUSY on cursor open. 2020-05-19 20:42:41 +00:00
Amirsaman Memaripour
601c7011ae SERVER-48295 Remove operation key in killAndDelistOperation 2020-05-19 20:29:44 +00:00
Matthew Russotto
d5829d9c7f SERVER-48058 Make sure abort_transactions_on_step_up waits for optime to be applied 2020-05-19 20:04:38 +00:00
David Storch
956b43ff33 SERVER-47801 Blacklist fts_find_and_modify.js from multiversion passthroughs 2020-05-19 19:09:45 +00:00
Ian Boros
64906095f4 SERVER-48052 Make updates create ExpressionContext with 'explain' field correctly initialized 2020-05-19 18:57:41 +00:00
Marcos José Grillo Ramírez
25ee2b61ed SERVER-47701 Allow CRUD and DDL commands on shards when connected to the primary directly instead of the router 2020-05-19 17:44:47 +00:00
Tommaso Tocci
b55528c595 SERVER-48288 Remove 2nd CatalogCache used just for filtering 2020-05-19 17:29:07 +00:00
Jacob Evans
9d546a80c9 SERVER-48284 Fix expression_replace_test stack address leak 2020-05-19 17:16:58 +00:00
Cheahuychou Mao
fa03802cb9 SERVER-26755 Increase the timeout for find operations against config.chunks 2020-05-19 15:55:48 +00:00
Mihai Andrei
a8cacc79c8 SERVER-48251 Update ‘getMaxKnownOpTime’ to return a Timestamp instead of an OpTime 2020-05-19 13:52:13 +00:00
Luke Chen
e8cfc643a3 Import wiredtiger: 55d47c210ccb07a115c2e6f71ee90367c7c3ab77 from branch mongodb-4.4
ref: 32b5f903db..55d47c210c
for: 4.5.1

WT-6170       Retrieve the original time window from the history store to replace an aborted prepared update
WT-6225       Retry reading when the reader run concurrently with committing or rollbacking of prepared updates
WT-6249       test_timestamp_abort should report all failing records before dying
WT-6254       Statistics for force evicting history store pages while the session has history store cursor open
WT-6255       Temporarily disable format-stress-sanitizer-lsm-test in Evergreen
WT-6261       Turn off incremental backup rename testing
WT-6265       Coverity: Integer overflow in test/format/ops.c
2020-05-19 07:20:45 +00:00
Mark Benvenuto
2fbd718e0a SERVER-46189 Fix shell kill current ops with TLS replica set and down nodes 2020-05-18 23:13:34 +00:00
Xuerui Fa
b3148d8485 SERVER-47454: Stop re-evaluting sync source if max num changes was exceeded 2020-05-18 22:29:48 +00:00
Andrew Morrow
2153f72a96 SERVER-48266 Improve handling of kCurrentScope for the benefit of the hang analyzer 2020-05-18 22:17:54 +00:00
Andrew Morrow
bd90bafce0 SERVER-48267 Don't apply export file in non-SDK builds 2020-05-18 22:05:37 +00:00
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