[SERVER-44099] Allow refine_collection_shard_key_basic.js to have less than the desired number of 'end' config.changelog entries, to account for stepdowns Created: 18/Oct/19  Updated: 29/Oct/23  Resolved: 23/Oct/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.3.1
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: sharding-csrs-stepdown-upkeep
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2019-10-21
Participants:
Linked BF Score: 8

 Description   

If the config server steps down at the end of the refine command any time after it's finished modifying config data , the retry for the command will early return and won't log the changelog for ending the command. We should simply change this check to allow for less to or equal than the desired count.



 Comments   
Comment by Githook User [ 21/Oct/19 ]

Author:

{'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler'}

Message: SERVER-44099 Allow refine_collection_shard_key_basic.js to have less than the desired number of 'end' config.changelog entries, to account for stepdowns
Branch: master
https://github.com/mongodb/mongo/commit/50b0f299db4d3a8336462db1c3b62fb7a40ece0f

Generated at Thu Feb 08 05:05:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.