[SERVER-57665] Remove the unused disallowWritesForResharding() method Created: 12/Jun/21  Updated: 29/Oct/23  Resolved: 28/Jun/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Luis Osta (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-53258 [Resharding] Reject writes in opObser... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-06-28
Participants:
Story Points: 1

 Description   

Preventing writes on the collection being resharding while the recipients finish catching up was done with the CollectionShardingRuntime's critical section instead.

https://github.com/mongodb/mongo/blob/792dcddddf6bfedc45208dbc1c513d2dea27546f/src/mongo/db/s/collection_metadata.h#L91



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 22/Sep/21 ]

Author:

{'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}

Message: SERVER-57665 Remove the unused disallowWritesForResharding() method
Branch: v5.0
https://github.com/mongodb/mongo/commit/b65e1b4c7c4a6bb08ce6643aeb7b04476bff4f57

Comment by Githook User [ 28/Jun/21 ]

Author:

{'name': 'Luis Osta', 'email': 'luis.osta@mongodb.com', 'username': 'LuisOsta'}

Message: SERVER-57665 Remove the unused disallowWritesForResharding() method
Branch: master
https://github.com/mongodb/mongo/commit/04a2a0050956a305c241a438b82a6d183a6df12a

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