[MDEV-17966] MyRocks-Gap-Lock: Information about last N deadlocks Created: 2018-12-10  Updated: 2018-12-10

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Sergei Petrunia Assignee: Sergei Petrunia
Resolution: Unresolved Votes: 0
Labels: 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)

Generated at Thu Feb 08 08:40:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.