[SERVER-78149] Implement the mongos fsync (lock : true) command Created: 15/Jun/23  Updated: 29/Oct/23  Resolved: 17/Jul/23

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

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

Attachments: PNG File image.png    
Issue Links:
Backports
Duplicate
is duplicated by SERVER-78155 Test the mongos fsync with lock and f... Closed
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0, v4.4
Participants:

 Description   

Extend the current mongos fsync command to accept the {lock : true} option and lock the shards in the cluster asynchronously (using this helper which uses the AsyncRequestsSender).

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


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

Author:

{'name': 'Jada Lilleboe', 'email': 'jada.lilleboe@mongodb.com', 'username': 'jadalilleboe'}

Message: SERVER-78149: Fsync with lock option mongos command

(cherry picked from commit 972abe01272e894b8318dea03cf453e9d1e7918e)
(cherry picked from commit bababc54db4686943fb9cbe6ad5d2187dd6bc949)
(cherry picked from commit a8519267f3734ede5897959582a637d7196ef493)
Branch: v4.4
https://github.com/mongodb/mongo/commit/7e0e5d65cfb5ff064eb1b90048903aec07cc2f79

Comment by Githook User [ 13/Sep/23 ]

Author:

{'name': 'Jada Lilleboe', 'email': 'jada.lilleboe@mongodb.com', 'username': 'jadalilleboe'}

Message: SERVER-78149: Fsync with lock option mongos command

(cherry picked from commit 972abe01272e894b8318dea03cf453e9d1e7918e)
(cherry picked from commit bababc54db4686943fb9cbe6ad5d2187dd6bc949)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8580d3948eca76d463db9680359343869bda8371

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Jada Lilleboe', 'email': 'jada.lilleboe@mongodb.com', 'username': 'jadalilleboe'}

Message: SERVER-78149: Fsync with lock option mongos command

(cherry picked from commit 972abe01272e894b8318dea03cf453e9d1e7918e)
Branch: v6.0
https://github.com/mongodb/mongo/commit/b1c896fd13bf94de7b21a4c604ad728743eafe48

Comment by Githook User [ 30/Aug/23 ]

Author:

{'name': 'Jada Lilleboe', 'email': 'jada.lilleboe@mongodb.com', 'username': 'jadalilleboe'}

Message: SERVER-78149: Fsync with lock option mongos command

(cherry picked from commit 972abe01272e894b8318dea03cf453e9d1e7918e)
Branch: v7.0
https://github.com/mongodb/mongo/commit/e1ad7b599ae763293726e6b609b8cf47051dad53

Comment by Githook User [ 17/Jul/23 ]

Author:

{'name': 'Jada Lilleboe', 'email': 'jada.lilleboe@mongodb.com', 'username': 'jadalilleboe'}

Message: SERVER-78149: Fsync with lock option mongos command
Branch: master
https://github.com/mongodb/mongo/commit/972abe01272e894b8318dea03cf453e9d1e7918e

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