Steve McClure
1ffbc6c2e9
SERVER-109432: Autofix JS var usage to favor let ( #40637 )
...
GitOrigin-RevId: 9674b7db36a0f3f650d39c1e3fb2ad6ff2141cfb
2025-08-28 19:21:01 +00:00
Zac
591928c619
SERVER-108478 JS formatted by prettier and remove clang-format ( #39656 )
...
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Santiago Roche
876f66eb13
SERVER-92024: Only provide JS_GC_ZEAL setting for mongo server processes. ( #24954 )
...
GitOrigin-RevId: 88dd3ef2b4325ca332b8e7e6180f1e8f9c7534ea
2024-09-06 19:58:23 +00:00
Matt Broadstone
771dabd098
SERVER-81339 Convert ReplSetTest and ShardingTest to modules ( #26332 )
...
GitOrigin-RevId: 744aa110a53786b23c62ff53f87a1418b5991e8d
2024-08-20 22:00:49 +00:00
Pierlauro Sciarelli
ce28e79ede
SERVER-81293 Get rid of `ensurePrimaryShard` helper
2023-09-28 09:24:01 +00:00
Nandini Bhartiya
37ac418540
SERVER-80678: Remove an outdated test
2023-09-06 16:19:48 +00:00
Matt Broadstone
a4f458fe4d
SERVER-79735 Convert jstest corpus to use es modules
2023-08-06 20:48:04 +00:00
Jada Lilleboe
972abe0127
SERVER-78149: Fsync with lock option mongos command
2023-07-17 17:13:19 +00:00
Haley Connelly
e164041d38
SERVER-61501 Create sharding suite where collections are clustered by default
2022-01-27 18:04:01 +00:00
Pavi Vetriselvan
e1daee88b3
SERVER-49996 Ensure getSiblingDB() is used instead of getSisterDB()
2020-08-17 16:11:37 +00:00
Dianna Hohensee
9bd41ba3d1
SERVER-46067 Replicate Before Journaling interface changes
...
flushAllFiles takes callerHoldsReadLock in order to skip taking a write lock to update the truncate point.
waitUntilDurable takes skipJournalListenerUpdate to know to skip updating the truncate point.
getToken takes a defer_lock and opCtx so collection locks can be locked prior to locking the mutex.
Remove inactive 'async' field from fsync command.
Put explicit dummy value for inactive (since MMAP) 'numFiles' result field in fsync command.
Put explicit dummy value for inactive (since MMAP) 'fsyncFiles' result field in write concern.
2020-02-12 21:50:40 +00:00
Bernard Gorman
8498f706a3
SERVER-43006 Unblacklist last_stable_mongos_and_mixed_shards tests now that 4.2 is last-stable
2019-08-23 16:17:44 +01:00
James Wahlin
39c3a5d77b
SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked()
2019-08-14 13:52:59 +00:00
clang-format-7.0.1
134a408395
SERVER-41772 Apply clang-format 7.0.1 to the codebase
2019-07-27 11:02:23 -04:00
Maria van Keulen
47ee8f8cde
SERVER-16917 Add totalSize field to dbStats and collStats
...
This commit also removes the now obsolete numExtents field.
2019-06-28 14:38:04 -04:00
jannaerin
da1e0304e8
SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets
2018-03-09 00:40:40 -05:00
Mark Benvenuto
254a60a637
SERVER-26109 Propagate MongoS information in client_metadata documents
2017-10-12 14:45:26 -04:00
Tess Avitabile
f56ae94527
SERVER-28575 Profile entry for update/delete should contain entire raw update/delete
2017-05-23 17:37:13 -04:00
Jonathan Abrahams
4ae691e8ed
SERVER-22468 Format JS code with approved style in jstests/
2016-03-09 12:18:14 -05:00
Kaloian Manassiev
e49a2a16fb
SERVER-22027 Sharding should not retry killed operations
...
This change introduces a different interruption code (11602) which will be
used to kill operations during replication primary stepdown so the config
server retry logic can differentiate them from user-killed operations.
2015-12-30 17:09:28 -05:00
Kaloian Manassiev
715e9e1cdc
Revert "SERVER-22027 Sharding should not retry killed operations"
...
This reverts commit 5d2d6e209a .
2015-12-30 17:09:27 -05:00
Kaloian Manassiev
5d2d6e209a
SERVER-22027 Sharding should not retry killed operations
2015-12-30 15:35:28 -05:00
Kaloian Manassiev
3ed6635a5f
SERVER-21050 Cleanup ReplSetTest
...
This is just a cleanup work to hide some of the private state of
ReplSetTest so it is easier to encapsulate and add new logic. Also enables
strict mode.
2015-12-08 13:05:00 -05:00
Kaloian Manassiev
706ac90265
SERVER-21186 Make all sharding tests use default verbosity of 1
...
The default ShardingTest verbosity is currently zero, but we have many
tests, which bump it to 1 and even higher.
Since verbosity level of 0 is sometimes insufficient for investigating
transient failures, this change makes the default to be 1 and removes all
places, which explicitly make it 1 or higher.
2015-11-11 11:01:18 -05:00
Kaloian Manassiev
38e5c4febb
SERVER-21009 Get rid of some unused/unnecessary methods in ShardingTest
...
Removes shardGo in lieu of shardColl and removes setBalancer because it
duplicates functionality, which is already in sh.
2015-10-27 08:24:24 -04:00
Misha Tyulenev
b2a5ef9496
SERVER-20591 fix jstests/sharding/features3.js testcase to use find command in queries
2015-09-24 10:14:55 -04:00
David Storch
b1982bb7fb
SERVER-20194 use the new mongos query path by default for legacy OP_QUERY/OP_GET_MORE reads
...
Explicitly configures yet-to-be-debugged tests to use the old mongos query path
by setting useClusterClientCursor=false.
2015-09-22 14:35:12 -04:00
Max Hirschhorn
dd0c8d73aa
SERVER-18868 Check the exit code of the parallel shell.
...
By default the await function returned by startParallelShell() asserts
that the exit code is zero.
2015-06-23 22:22:52 -04:00
Randolph Tan
280fbae904
SERVER-18044 Make sharding test explicitly set primary shards for databases
2015-05-15 10:11:31 -04:00
Spencer T Brody
7c1ad90880
SERVER-17971 Remove separateConfig option from ShardingTest and make its behavior the default
2015-04-14 13:53:47 -04:00
Spencer T Brody
06928da7d2
SERVER-14143 Re-enable javascript interruption.
...
This restores the behavior from 2.6 to interrupt server-side javascript contexts, but doesn't fix
the existing bugs with it due to multiple javascript scopes being associated with a single opId and
opIds changing between getMore calls.
2014-12-01 16:31:10 -05:00
Eliot Horowitz
8aad8474a4
SERVER-13635: update many sharding tests to work with other storage engines
2014-10-11 00:20:10 -04:00
Randolph Tan
82dfdf0e63
SERVER-14745 Remove WritebackListener
2014-08-06 14:50:50 -04:00
Mathias Stearn
4857b87015
SERVER-14069 Temporarily disable interrupting JS code
...
SERVER-14143 Will reenable it
2014-06-03 13:05:03 -04:00
Randolph Tan
7acafe85d9
SERVER-13425 migrate sharding jstest suite to use write commands api
2014-04-21 16:53:25 -04:00
Andy Schwerin
2f03ad166b
SERVER-10247 Correctly check access denied failure in sharding/features3.js
2013-07-18 10:42:40 -04:00
Eric Milkie
3595a3902a
SERVER-9695 fix racy test
2013-05-17 09:30:51 -04:00
Ben Becker
0893701ad4
SERVER-8794: use a dedicated config server for features3.js and add debug output
2013-03-05 13:04:54 -08:00
Ben Becker
081a0a87a2
SERVER-8794: clean up features3.js to make it easier to understand
2013-03-05 09:26:36 -08:00
Randolph Tan
93cda0b81d
SERVER-7376 migrate deletion not aggressive enough and tied to migrate moves
...
Put back dfb8e26044 and fixed tests.
2012-12-11 13:30:47 -05:00
Eliot Horowitz
52fa01b370
try to make features3 more reliable
2012-06-23 21:06:43 -04:00
Greg Studer
9fe31fd0eb
buildbot features3.js disable balancer if doing manual chunk move
2012-06-19 13:21:47 -04:00
Eliot Horowitz
c8dc9110a1
make features3 curop test more resilient of timing
2012-03-26 14:15:43 -04:00
Eliot Horowitz
e1f6845321
make error reporting better in jstests/sharding/features3.js
2012-03-26 13:23:23 -04:00
Eliot Horowitz
02889f2e00
SERVER-4194 suppress writebacklisten in db.currentOp() unless $all is set
2012-03-02 16:51:36 -05:00
Eliot Horowitz
690505dee9
don't duplicate ns entry for non-sharded collections via mongos SERVER-3539
2011-08-08 11:07:11 -04:00
gregs
79fcca753b
protect against errors on js scope cleanup - features3.js
...
Also reduce # of race conditions in features3.js
2011-07-25 12:29:30 -04:00
Eliot Horowitz
c3da625d6a
put indexSizes and other missing fields in sharded collstats SERVER-2752
2011-03-31 08:48:05 -04:00
Aaron
786b5defd8
don't use double quotes in startParallelShell
2010-12-29 08:48:57 -08:00
Eliot Horowitz
ac0b1d8a7e
trying to make feature3 more reliable
2010-09-19 00:26:35 -04:00