-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
Fully Compatible
-
ALL
-
Security 2024-11-11, Security 2024-11-25, Security 2024-12-09, Security 2024-12-23
-
200
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Some user management commands (notably dropRoles and dropAllRolesFromDatabase ) utilize internal transactions, which is deferred to the internal UMCTransaction class. However, we don't pass the write concern specified on the command into the transaction, which causes the transaction to always run at w: majority by default.
We should respect whatever write concern is provided to the command.