Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Fully Compatible
-
ALL
-
STM 2018-10-22
-
1
Description
Changes for SERVER-34738 now display the lock requester's mode. We need to display the lock holder's mode as well.
We should change the following
print("MongoDB Lock at {} ({}) held by {} waited on by {}".format(
|
lock_head, lock_request["mode"], lock_holder, lock_waiter))
|
to
# Code to set the lock_mode needs to be added
|
print("MongoDB Lock at {} ({}) held by {} waited on by {} ({})".format(
|
lock_head, lock_mode, lock_holder, lock_waiter, lock_request["mode"]))
|
Other references to lock_request["mode"] should be modified as well, such that the mode is properly associated to holder.
Attachments
Issue Links
- is related to
-
SERVER-34738 mongo_lock.py graph should display lock type for LockManager locks
-
- Closed
-