[SERVER-58063] Alias "flushReshardingStateChanges" as "_shardsvrCommitReshardCollection" to allow 5.0.0 and 5.0.1 compatibility Created: 24/Jun/21  Updated: 29/Oct/23  Resolved: 25/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-autocommits, post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-57953 _flushReshardingStateChange attempts ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-06-28
Participants:
Story Points: 1

 Description   
  1. In 5.0.0 requests to _shardsvrCommitReshardCollection alias to flushReshardingStateChanges
  2. In 5.0.1 those requests would successfully route to the un-aliased and dedicated _shardsvrCommitReshardCollectionCommand

This ticket is to create that alias and change the ReshardingCoordinator to call _shardsvrCommitReshardCollection to commit.



 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 [ 25/Jun/21 ]

Author:

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

Message: SERVER-58063 Alias "flushReshardingStateChanges" as "_shardsvrCommitReshardCollection" to allow 5.0.0 and 5.0.1 compatibility

(cherry picked from commit 72939ea4a1d1a1ceb399caf771ee567998b4729d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8c5808ecb212172a374b81b715d98faa71b407b5

Comment by Githook User [ 24/Jun/21 ]

Author:

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

Message: SERVER-58063 Alias "flushReshardingStateChanges" as "_shardsvrCommitReshardCollection" to allow 5.0.0 and 5.0.1 compatibility
Branch: master
https://github.com/mongodb/mongo/commit/72939ea4a1d1a1ceb399caf771ee567998b4729d

Comment by Max Hirschhorn [ 24/Jun/21 ]

The _shardsvrCommitReshardCollection command must use the reshardingUUID to identify a particular resharding operation to safely handle delayed messages. The _flushReshardingStateChange command currently only accepts the NamespaceString so either (a) don't have the commands be true aliases or (b) add both to the _flushReshardingStateChange command.

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