[SERVER-57263] Use resharding metrics stepUp/stepDown logic in the recipient state machine Created: 27/May/21  Updated: 29/Oct/23  Resolved: 08/Jun/21

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

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

Issue Links:
Backports
Depends
is depended on by SERVER-53912 ReshardingRecipientService instances ... Closed
Duplicate
is duplicated by SERVER-56985 Complete TODO listed in SERVER-56500 Closed
Related
related to SERVER-59812 ReshardingMetrics::onStepDown() is ca... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-06-14
Participants:
Linked BF Score: 49
Story Points: 1

 Description   
  1. Remove this if-statement/call into onCompletion.
  2. Place a call to ReshardingMetrics::onStepDown() here contingent on the stepdownToken being cancelled.
  3. Remove the current call to onStart in the class and instead place it here, past the gate checking if we're coming from stepup.
  4. Place a call to onStepUp past this line.


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

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-57263: Use resharding metrics stepUp/stepDown logic in the
recipient state machine.

(cherry picked from commit 593de38d3391c523e1848f8dc0040c02387b0735)
Branch: v5.0
https://github.com/mongodb/mongo/commit/06168e4b8cb7477b3b21be02d266de5034552cf9

Comment by Githook User [ 08/Jun/21 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-57263: Use resharding metrics stepUp/stepDown logic in the
recipient state machine.
Branch: master
https://github.com/mongodb/mongo/commit/593de38d3391c523e1848f8dc0040c02387b0735

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