[SERVER-73971] movePrimary completion log trace mismatches with the actual operation completion Created: 14/Feb/23  Updated: 29/Oct/23  Resolved: 15/Feb/23

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

Type: Bug Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: PM-2144-Milestone-0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2023-02-20
Participants:

 Description   

With SERVER-71201, the last two phases of the resilient movePrimary's coordinator were swapped, but both the completion log trace and audit event remained in the second to last phase, i.e., kClean.

The purpose of this ticket is to move the log trace and audit event to the last phase, i.e., kExitCriticalSection.



 Comments   
Comment by Githook User [ 14/Feb/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-73971 Move `movePrimary` completion events to the last coordinator's phase
Branch: master
https://github.com/mongodb/mongo/commit/7923c15b7d285d18a0c81a1e55dc939c7320af39

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