...
The default oplog size in sharded clusters created by the ShardingTest class is 16MB. This is certainly not enough for tests creating or updating multiple almost 16MB documents. Some of these tests may fail sporadically when the oplog cap maintainer job wakes up at the wrong time.
xgen-internal-githook commented on Fri, 21 Jun 2024 18:28:20 +0000: Author: {'name': 'romanskas', 'email': '30618745+romanskas@users.noreply.github.com', 'username': 'romanskas'} Message: SERVER-91258 Increase oplog size in change_streams_split_event tests (#23700) GitOrigin-RevId: dbf39fc5761643b95ff38dec83e27c5bf6c87631 Branch: v6.0 https://github.com/mongodb/mongo/commit/67a48a04dd622071ef24fe06cdc5c9d94063e631 xgen-internal-githook commented on Fri, 21 Jun 2024 18:15:40 +0000: Author: {'name': 'romanskas', 'email': '30618745+romanskas@users.noreply.github.com', 'username': 'romanskas'} Message: SERVER-91258 Increase oplog size in change_streams_split_event tests (#23684) GitOrigin-RevId: 269accb0c3a53859f1a7d4bb7c1cc59b31272128 Branch: v7.0 https://github.com/mongodb/mongo/commit/f237363deb70f0117dc8bd1cdb329f38156814d6 xgen-internal-githook commented on Wed, 19 Jun 2024 01:56:07 +0000: Author: {'name': 'romanskas', 'email': '30618745+romanskas@users.noreply.github.com', 'username': 'romanskas'} Message: SERVER-91258 Increase oplog size in change_streams_split_event tests (#23675) The default oplog size in deployments created with ShardingTest is 16MB, which is not enough to accommodate 4 nearly 16-MB large changes (2 updates and 2 replaces) created by this test. As a result, the oplog might get truncated during the test which leads to sporadic test failures. Therefore, we need to increase the oplog size. GitOrigin-RevId: f9d781c5c6aeb92a6e06a7d02fc02d71c64cb0d3 Branch: v7.3 https://github.com/mongodb/mongo/commit/5eacc4625cb0d05e969580eec83323fff0b67d1c xgen-internal-githook commented on Tue, 11 Jun 2024 11:32:35 +0000: Author: {'name': 'romanskas', 'email': '30618745+romanskas@users.noreply.github.com', 'username': 'romanskas'} Message: SERVER-91258 Increase oplog size in change_streams_split_event tests (#23255) GitOrigin-RevId: 5bf14fa507a69039a1ebfe21520d09c1f91c9b13 Branch: v8.0 https://github.com/mongodb/mongo/commit/c37a1276750cdadb8ccf2d41eb7edc76778427c4