Zac
591928c619
SERVER-108478 JS formatted by prettier and remove clang-format ( #39656 )
...
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Gregory Wlodarek
87f0d6fe9c
SERVER-105643 dbHash background hook should handle ShutdownInProgress ( #36638 )
...
GitOrigin-RevId: 6baa909706bffea56568a9271cc31f12cd282cca
2025-05-31 01:08: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
Alya Carina Berciu
574a554cef
SERVER-93189 Move assert.commandWorked into RetryableWritesUtil.runCommandWithRetries ( #25785 )
...
GitOrigin-RevId: 95db1586220f2075e56b4525d16e22a052925140
2024-08-09 16:43:51 +00:00
Alya Carina Berciu
2027811424
SERVER-92067 Robustify run_check_repl_dbhash_background.js against retryable errors ( #24662 )
...
GitOrigin-RevId: 5c53202311900463b37ff37d17065be909009651
2024-07-17 09:18:19 +00:00
Catalin Sumanaru
de97aac8f6
SERVER-91379 Re-introduce eslint rule for missing semicolons ( #23301 )
...
GitOrigin-RevId: fd9cce5f9f201004e44ffdeabdb33cd93e79b451
2024-06-11 14:18:29 +00:00
Kishore Devireddy
d4fca5696e
SERVER-84801: Remove replication.eMRC from options ( #22851 )
...
GitOrigin-RevId: e8ddf575dbc4d44ccd92f341c2d1ffe7ad53ad7b
2024-06-03 22:46:18 +00:00
Alexander Neben
ae19ac0739
SERVER-90484 Large increases in throughput for most expensive variants ( #22196 )
...
[required variant with jstestshell
changes](https://spruce.mongodb.com/version/6643e8bf8571a30007c6562d/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC )
<- 242 hours
[required variant without jstestshell
changes](https://spruce.mongodb.com/version/6643e9dd8571a30007c6576b/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC )
<- 301 hours
20% reduction in compute.
[AUBSAN
After](https://spruce.mongodb.com/version/6644ecfaf87baf0007e4b124/tasks ):
412 hours
[AUBSAN
Before](https://spruce.mongodb.com/version/6644e4b131a6190007b0526c/tasks )
539 hours
24% reduction in compute
[TSAN
After](https://spruce.mongodb.com/version/6644ecabe2618d0007a54406/tasks )
356 hours
[TSAN
Before](https://spruce.mongodb.com/version/6644e47f9b110e0007e9820f/tasks )
580 hours
39% reduction in compute
According to project outliers this should reduce our spend on
mongodb-mongo-master by
(20%*20.32%) = 4.06%
(39%*14.82%) = 5.78%
(24%*8.73%) = 2.10%
**Total: 11.94%**
In all these patches we use a jstest shell compiled without debug
symbols and statically linked. This increased the startup speed from 1.2
seconds to .02 seconds. Since each javascript test is run with a
separate invocation of the shell this speeds up ever javascript test by
about 1.2 seconds. The tradeoff is that we are not going to catch tsan
or aubsan bugs in the jstestshell and it makes our test running process
just that much more complicated.
Not included here is another optimization to run batches of javascript
tests together to avoid having to re-handshake with the database.
[Final
PB](https://spruce.mongodb.com/version/664b780cceb3230007a77382/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC )
showing mostly green.
GitOrigin-RevId: db2f54f832512676f6f8159e1267d5ae69aa6b3d
2024-05-21 05:35:39 +00:00
Didier Nadeau
67fd9d1392
SERVER-82335 Stop parsing tenant prefix without atlas proxy protocol in multitenancy ( #19563 )
...
GitOrigin-RevId: ff6b22ecb2818e4b6636f70d55e073cc4ef3c1b9
2024-03-08 23:34:50 +00:00
Matt Broadstone
7fc82357f8
SERVER-79913 Restore top comments for recently converted jstests
2023-08-10 22:02:36 +00:00
Matt Broadstone
a4f458fe4d
SERVER-79735 Convert jstest corpus to use es modules
2023-08-06 20:48:04 +00:00
Gregory Wlodarek
0478f8ca30
SERVER-54899 Pass in point-in-time value used for getHashesUsingSessions() into getCollectionDiffUsingSessions()
2021-03-06 02:46:25 +00:00
Judah Schvimer
cada2662c2
SERVER-54091 Update assertion messages for dbhash check run by resmoke.py
2021-02-01 15:10:50 +00:00
XueruiFa
0d3ed9af62
SERVER-53945: Fix property names in db hash background check
2021-01-22 15:36:10 +00:00
XueruiFa
c1889f64dc
SERVER-50935: Expand dbhash checks to ensure two replica sets are in sync for a given tenantId
2020-12-15 15:09:12 +00:00
Daniel Gottlieb
1e6511738d
SERVER-21861: Prohibit Timestamp.prototype.toString via resmoke injection.
2020-08-05 01:43:59 +00:00
Louis Williams
ab4d803f1f
SERVER-43060 CheckReplDBHashInBackground should retry the dbHash command on WriteConflicts in debug builds
2020-07-09 17:40:17 +00:00
Mathew Robinson
ef9f9b461e
SERVER-41177 Remove Javascript ScopedThread class
2019-08-12 17:28:18 -04:00
Jack Mulrow
5a385bb97b
SERVER-41278 FSM dbhash background check shouldn't use sessions outside of error retry loop
2019-08-07 10:00:04 -04: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
Gabriel Russell
f79c017612
SERVER-42316 always join all threads in run_check_repl_dbhash_background.js
2019-07-23 15:52:26 -04:00
Lingzhi Deng
22b6c7a8df
SERVER-40086: Extend CheckReplDBHashInBackground to Sharded Clusters
2019-05-01 22:28:30 -04:00
Gregory Wlodarek
ec5e2eb804
SERVER-40851 CheckReplDBHashInBackground should retry running 'appendOplogNote' when it fails to acquire the global lock
2019-04-29 09:15:30 -04:00
Gregory Wlodarek
5ae506cb8f
SERVER-39321 Re-enable the CheckReplDBHashInBackground hook
2019-04-25 11:06:12 -04:00
Max Hirschhorn
9db1a8dffe
SERVER-39169 Add $_internalReadAtClusterTime option to find and dbHash.
...
The new $_internalReadAtClusterTime option replaces all usages of
running the dbHash command inside of a multi-statement transaction. It
can be used to read from a consistent snapshot in place of specifying an
atClusterTime read concern.
Unlike multi-statement transactions, the new $_internalReadAtClusterTime
option doesn't cause locks to be left on the server after returning a
network response. It instead restores the snapshot to read from as part
of handling the request.
2019-02-11 15:43:27 -05:00
Tess Avitabile
b4ee2a119c
SERVER-39212 waitForSecondaries in background dbhash check must wait for lastApplied to reach clusterTime when enableMajorityReadConcern=false
2019-01-29 13:12:04 -05:00
Judah Schvimer
36ed73e9c8
SERVER-39076 print in background dbhash when a hash mismatch occurs before doing more reads
2019-01-22 11:52:25 -05:00
Daniel Gottlieb
a9177f25ba
SERVER-38928: Have run_check_repl_dbhash_background.js cope with secondaries reporting a greater optime than their primary.
2019-01-11 16:22:55 -05:00
Daniel Gottlieb
83a494cb0a
SERVER-38869: Add logging to run_check_repl_dbhash_background.js when it errors out.
2019-01-08 15:40:00 -05:00
Max Hirschhorn
1b5d91ae96
SERVER-37143 Retry background dbHash check on Interrupted errors.
2018-12-27 14:37:48 -05:00
Max Hirschhorn
7b72db38ae
SERVER-38182 Avoid calling abortTransaction() after txn committed.
2018-12-27 14:37:48 -05:00
Vesselina Ratcheva
0991709cf6
SERVER-37240 Enable dbhash background thread for enableMajorityReadConcern:false variant
2018-12-14 14:35:19 -05:00
Pavi Vetriselvan
6ead45d2b8
SERVER-36728 Don't ignore errors when aborting a transaction in tests
2018-10-30 11:32:00 -04:00
jannaerin
c89b04dd7f
SERVER-36845 Change sessionId check in check_repl_db_hash_background hook to use bsonWoCompare
2018-08-29 11:00:08 -04:00
Jonathan Abrahams
b2cbb83011
SERVER-35559 Update transaction retry functions to not call abort after commit
2018-06-26 08:32:02 -04:00
Max Hirschhorn
25f72cf5f1
SERVER-34779 Add hook for checking dbhash while a test is running.
...
Enables the CheckReplDBHashInBackground hook in the
replica_sets_jscore_passthrough.yml test suite.
Also fixes the WTPreserveSnapshotHistoryIndefinitely failpoint to ignore
attempts from _decreaseTargetSnapshotWindowSize() to move the oldest
timestamp forward.
2018-05-25 22:07:24 -04:00