[SERVER-63457] Expose write blocking state in serverStatus Created: 08/Feb/22  Updated: 29/Oct/23  Resolved: 25/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0-rc4

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Gabriel Marks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-63702 Set in-memory user write blocking sta... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-03-21, Security 2022-04-04
Participants:

 Description   

We should advertise a new property in serverStatus which consists of a boolean property indicating whether the global critical section is currently being held.

This should look like:

userWriteBlockMode: {global: Bool}



 Comments   
Comment by Githook User [ 25/Mar/22 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-63457 Add userWriteBlockMode to serverStatus.repl
Branch: master
https://github.com/mongodb/mongo/commit/405866b051f2bd70bce0632f03dd2d34c8cb0bee

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