[SERVER-66077] Defragmentation jstest utils should support stepdowns Created: 29/Apr/22  Updated: 29/Oct/23  Resolved: 02/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Allison Easton Assignee: Jordi Serra Torrens
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-06-13
Participants:
Linked BF Score: 24

 Description   

In createFragmentedCollection within defragmentation_util.js, there is a write to config.collections to disable balancing on the created collection. This update means that any test using this function does not support stepdowns because writes to config collections do not support retries.

One option would be to disable these tests from stepdown suites, but if another solution is feasible (maybe disabling balancing some other way), it would be preferable to continue running the tests on stepdown suites.



 Comments   
Comment by Githook User [ 02/Jun/22 ]

Author:

{'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}

Message: SERVER-66077 Make defragmentation_util.js retry writes on the configsvr
Branch: master
https://github.com/mongodb/mongo/commit/bc7ae5a10b36dfc816b6e4b389a8555d02b528a3

Generated at Thu Feb 08 06:04:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.