[MDEV-19451] MyRocks: Range Locking: shared point lock support Created: 2019-05-13  Updated: 2019-06-11

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

Issue Links:
PartOf
is part of MDEV-15603 Gap Lock support in MyRocks Stalled

 Description   

Range locking should support shared locks. Supporting them in general case is hard, so the goal is to just support shared point locks.

Multiple transactions should be able to run

select ... from table where key= ... lock in share mode

Tree:
MyRocks: https://github.com/spetrunia/mysql-5.6/tree/range-locking-fb-mysql-5.6.35-shared-locks
RocksDB part: https://github.com/spetrunia/rocksdb/tree/spetrunia-range-locking-sharedlocks



 Comments   
Comment by Sergei Petrunia [ 2019-06-10 ]

Lock escalation process is now able to handle shared locks (shared locks are not merged together. They remain intact after the escalation).

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