Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
MyRocks has a deadlock detection feature (off by default, one needs to enable it by setting @@rocksdb_deadlock_detect.
If deadlock detection is enabled, information about the last N deadlocks can be viewed through:
- information_schema.rocksdb_deadlock table
- SHOW ENGINE ROCKSDB TRANSACTION STATUS command;
TokuDB's Range locking system includes a deadlock detector, and
- It is always enabled
- It only works within one lock tree.
- It does build the wait graph internally but does not expose it to outside (so it's difficult to provide deadlock information to the user)