[SERVER-53138] Make ReshardingCoordinatorService use $set for state and fetchTimestamp updates Created: 30/Nov/20  Updated: 29/Oct/23  Resolved: 01/Dec/20

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

Type: Bug Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: PM-234-M2, PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-12-14
Participants:

 Description   

Currently, the ReshardingCoordinatorService does a full update of the coordinator document when it updates its state.

This is problematic when other participants update their states concurrently and their changes get overwritten by the full document update.



 Comments   
Comment by Githook User [ 01/Dec/20 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-53138 Make ReshardingCoordinatorService use set for state and fetchTimestamp updates
Branch: master
https://github.com/mongodb/mongo/commit/aa29e4bcaa520816e25db3a632fcd717c1854d7d

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