Commit Graph

46723 Commits

Author SHA1 Message Date
Henrik Edin
00528cee49 SERVER-40643 SERVER-40645 Add jstests that test the split horizon feature
Split horizon relies on SNI over TLS and we simulate this by using HOSTALIASES (Linux only)
2019-05-21 12:40:03 -04:00
Benety Goh
ac1a0ee0ba SERVER-41191 SyncTailTest stops setting prepared field on commitTransaction 2019-05-21 12:36:53 -04:00
Jacob Evans
4087836e62 SERVER-41200 Change syntax from $out to $merge for tests in other directories 2019-05-21 12:08:31 -04:00
Arun Banala
e310071502 SERVER-41099 Fix incorrect error propagation from shards for explain command 2019-05-21 16:43:56 +01:00
Charlie Swanson
1397d1398b SERVER-40539 Add DocumentSourceQueue
This stage is distinguished from the Mock stage in that it doesn't
bother tracking state about which methods have been called. The queue
version is simpler and is used in production code (namely the update
system), whereas the mock is still preferred in testing environments.
2019-05-21 11:20:22 -04:00
Benety Goh
a3638ccc48 SERVER-41191 OpObserverImpl stops setting prepared field on commitTransaction oplog entry 2019-05-21 11:15:48 -04:00
Xiangyu Yao
d9d57c2ede SERVER-41161 Re-enable renaming between databases for applyOps 2019-05-21 11:07:09 -04:00
Jacob Evans
ea0e6b047c SERVER-41200 Change syntax from $out to $merge for tests in other directories 2019-05-21 10:55:01 -04:00
David Golden
f09fa89055 Import tools: 25f23659be74d2f882ead1a9882b66872214f369 from branch v4.1
ref: 10612b00bf..25f23659be
for: 4.1.12

TOOLS-2293    Specifying no database in the URI triggers auth
2019-05-21 10:49:58 -04:00
Judah Schvimer
f36aaeddbb SERVER-41057 Add non-transactional afterClusterTime find to multi_statement_transaction_atomicity_isolation.js 2019-05-21 10:24:30 -04:00
Benety Goh
495dcc59fb Revert "SERVER-41191 OpObserverImplTest stops setting prepared field on commitTransaction"
This reverts commit bd8479a285.
2019-05-21 09:27:05 -04:00
Benety Goh
bd8479a285 SERVER-41191 OpObserverImplTest stops setting prepared field on commitTransaction 2019-05-21 08:58:51 -04:00
Ian Boros
d7c2ad76b4 SERVER-40555 add searchSnippet metadata 2019-05-20 21:38:07 -04:00
Vesselina Ratcheva
cb7eff01f6 SERVER-41100 Update lastWriteOpTime for prepareTransaction on secondaries 2019-05-20 18:38:44 -04:00
Jonathan Reams
c8e0cc640b SERVER-40841 Fix lint 2019-05-20 17:49:18 -04:00
Nick Zolnierz
3c0a976f70 SERVER-41201 Add replacements for more $out helpers 2019-05-20 17:07:14 -04:00
Judah Schvimer
b205efb00f SERVER-41216 Rename InterruptedDueToStepDown error code to InterruptedDueToReplStateChange 2019-05-20 16:10:46 -04:00
Jonathan Reams
fae0c3f0fa SERVER-40841 Re-issue invalid test certificates 2019-05-20 15:59:18 -04:00
Ian Boros
31967340ab SERVER-40949 add LookupAllowed stage constraint
This bans $merge and $sB from $lookup subpipelines
2019-05-20 15:50:22 -04:00
Maria van Keulen
24760ca934 SERVER-41240 Do not Flow Control uninterruptible lock acquisitions. 2019-05-20 15:48:23 -04:00
Gregory Wlodarek
ad2b5ce357 SERVER-41009 TimestampMonitor and getOldestActiveTimestamp shouldn't conflict with PBWM lock 2019-05-20 15:45:51 -04:00
David Bradford
542d00d1a3 SERVER-39414: Migrate task selection to task tags 2019-05-20 15:23:07 -04:00
Dianna
793e28d328 SERVER-41176 Remove redeclaration of variable in a sub-scope of IndexCatalogImpl::_doesSpecConflictWithExisting() 2019-05-20 12:45:24 -04:00
Dianna
076f25508e SERVER-41206 create_indexes_waits_for_already_in_progress.js should not run with the ephemeralForTest storage engine 2019-05-20 12:44:16 -04:00
Jack Mulrow
1c9d985ab7 SERVER-40026 Don't allow distinct on sharded collections in multi document transactions 2019-05-20 11:34:23 -04:00
Jack Mulrow
90dd9f8983 SERVER-40982 Add counters for aborted migrations from lock timeouts 2019-05-20 11:21:01 -04:00
James Wahlin
bc456b822c SERVER-40419 Remove feature flag guard for pipelines in update 2019-05-20 11:19:05 -04:00
Daniel Gottlieb
b5236dd049 SERVER-40447: Add FlowControl unittests and jstests. 2019-05-20 09:33:00 -04:00
Suganthi Mani
87c4ff3e8f SERVER-37574 Force reconfig should kill operations that conflict state
transition (primary to secondary/removed).
2019-05-19 22:05:49 -04:00
Suganthi Mani
674276b014 Revert "SERVER-37574 Force reconfig should kill operations that conflict state"
This reverts commit 8e6ad096f8.
2019-05-19 21:53:05 -04:00
Suganthi Mani
8e6ad096f8 SERVER-37574 Force reconfig should kill operations that conflict state
transition (primary to secondary/removed).
2019-05-19 17:14:46 -04:00
Bernard Gorman
209ea38bcc SERVER-40407 Add support for $$NOW and $$CLUSTER_TIME in the findAndModify command 2019-05-19 11:25:13 +01:00
Gregory Wlodarek
b7a30e0381 SERVER-40641 Ensure TTL gets interrupted by rollback 2019-05-17 20:02:23 -04:00
Gregory Wlodarek
00c9d427d4 SERVER-40641 Ensure TTL delete in prepare conflict retry loop does not block step down 2019-05-17 20:02:23 -04:00
Dianna
8899b34e10 SERVER-36956 SnapshotTooOld errors will always increase the snapshot history window size 2019-05-17 17:31:45 -04:00
Lydia Stepanek
278e1936f8 SERVER-41003 when generating suites, don't set repeat-suites if options is 1 2019-05-17 17:17:03 -04:00
Jack Mulrow
006c92c7ee SERVER-41212 snapshot_read_kill_operations.js should accept CursorKilled on currentOp 2019-05-17 17:05:00 -04:00
Randolph Tan
32ade4aa6b SERVER-41074 Make decision to send pre/post image oplog the same as the decision made for the originating oplog write. 2019-05-17 16:49:22 -04:00
Anton Korshunov
57c127b904 SERVER-40439 Add merge support for whenNotMatched: discard 2019-05-17 21:37:17 +01:00
Tess Avitabile
1d06a0bee9 SERVER-41211 commands_banning_txnnumber_outside_transactions.js should not run on ephemeralForTest 2019-05-17 16:32:53 -04:00
A. Jesse Jiryu Davis
0ed0b97e6f SERVER-41181 Fix sharding tests for hostname normalization 2019-05-17 16:28:27 -04:00
ADAM David Alan Martin
6784f6568c SERVER-40156 Replica sets support Split Horizons
Replica sets can now respond to `isMaster` requests with
different hostnames and ports, if contacted via alternate
names using TLS.  The `horizons` field in replica set
member configurations can be used to control which
`HostAndPort` to reply with for which "horizon view" of
a replica set.
2019-05-17 15:41:29 -04:00
Esha Maharishi
88efdbf5b5 SERVER-40978 Create class for tracking single two phase commit metrics on mongod 2019-05-17 14:41:29 -04:00
Benety Goh
6cebd61ff8 SERVER-40985 handle windows line endings in test 2019-05-17 13:54:18 -04:00
Judah Schvimer
1d1a7182c7 SERVER-41035 Rollback should kill all user operations before taking RSTL lock in X 2019-05-17 13:27:24 -04:00
Shreyas Kalyan
0dea5729cd SERVER-39897 Implement field level encryption for various commands in JS shell API 2019-05-17 11:25:22 -04:00
Bernard Gorman
c7f86d2fce SERVER-40406 Add support for $$NOW and $$CLUSTER_TIME in the update command 2019-05-17 16:22:28 +01:00
Louis Williams
99585f23be SERVER-40897 Default index catalog metadata to use single-phase index build format 2019-05-17 11:21:12 -04:00
James Wahlin
17fe1b7109 SERVER-40240 Add new $unset aggregation stage 2019-05-17 11:16:24 -04:00
Eric Milkie
c9bdb7e642 SERVER-40041 block prepared transactions behind index builds during initial sync 2019-05-17 11:15:41 -04:00