[SERVER-78150] Implement the mongos fsyncUnlock command Created: 15/Jun/23  Updated: 29/Oct/23  Resolved: 10/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc7, 4.4.25, 7.0.2, 5.0.22, 6.0.11

Type: Task Priority: Major - P3
Reporter: Nandini Bhartiya Assignee: David Chen (Inactive)
Resolution: Fixed Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Assigned Teams:
Sharding NYC
Backwards Compatibility: Major Change
Backport Requested:
v7.0, v6.0, v5.0, v4.4
Participants:
Linked BF Score: 165

 Description   

Implement a new mongos {fsyncUnlock : 1} command to unlock the shards (by invoking the mongod {fsyncUnlock : 1} command) in the cluster asynchronously (using this helper which uses the AsyncRequestsSender).

  • On success, the host: port of the unlocked shards must be returned to the user.
  • On failure to unlock a shard, an appropriate error message must be returned to the user. 


 Comments   
Comment by Githook User [ 15/Sep/23 ]

Author:

{'name': 'David Chen', 'email': 'david.chen@mongodb.com', 'username': ''}

Message: SERVER-78150 - Cluster Fsync Unlock Command

(cherry picked from commit d784ee65da224838e6ae70794a7e125c2cfb6efb)
(cherry picked from commit 11991317a73148e0c3079c1c496e4df049ad40a8)
(cherry picked from commit 77c0afece5b303dc54664a735c48fb5cf5fbacda)
Branch: v4.4
https://github.com/mongodb/mongo/commit/5812f923f61386b4ceba0d1c57d718598da8acc0

Comment by Githook User [ 13/Sep/23 ]

Author:

{'name': 'David Chen', 'email': 'david.chen@mongodb.com', 'username': ''}

Message: SERVER-78150 - Cluster Fsync Unlock Command

(cherry picked from commit d784ee65da224838e6ae70794a7e125c2cfb6efb)
(cherry picked from commit 11991317a73148e0c3079c1c496e4df049ad40a8)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8126b198ea9550ac5d4dc2709b893718c0fe0eb0

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'David Chen', 'email': 'david.chen@mongodb.com', 'username': ''}

Message: SERVER-78150 - Cluster Fsync Unlock Command

(cherry picked from commit d784ee65da224838e6ae70794a7e125c2cfb6efb)
Branch: v6.0
https://github.com/mongodb/mongo/commit/6949ab35367cd6ee0301546a16ddbb5673feedcc

Comment by Githook User [ 30/Aug/23 ]

Author:

{'name': 'David Chen', 'email': 'david.chen@mongodb.com', 'username': ''}

Message: SERVER-78150 - Cluster Fsync Unlock Command

(cherry picked from commit d784ee65da224838e6ae70794a7e125c2cfb6efb)
Branch: v7.0
https://github.com/mongodb/mongo/commit/563d105ff1ea457da449b16086f6989239df05cb

Comment by Githook User [ 12/Jul/23 ]

Author:

{'name': 'David Chen', 'email': 'david.chen@mongodb.com', 'username': ''}

Message: SERVER-78150 - Cluster Fsync Unlock Command
Branch: master
https://github.com/mongodb/mongo/commit/d784ee65da224838e6ae70794a7e125c2cfb6efb

Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}

Message: Revert "SERVER-78150 - Cluster Fsync Unlock Command"

This reverts commit 81c2ed7dc7468e3169796176f8dde59bb67c03b3.
Branch: master
https://github.com/mongodb/mongo/commit/5e8de493c42e219e57700e34871faadd31db8c06

Comment by Githook User [ 10/Jul/23 ]

Author:

{'name': 'David Chen', 'email': 'david.chen@mongodb.com', 'username': ''}

Message: SERVER-78150 - Cluster Fsync Unlock Command
Branch: master
https://github.com/mongodb/mongo/commit/81c2ed7dc7468e3169796176f8dde59bb67c03b3

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