microsoft / garnet

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
https://microsoft.github.io/garnet/
MIT License
9.71k stars 459 forks source link

Remove ConcurrencyControlMode.NoLock #448

Closed TedHartMS closed 3 weeks ago

TedHartMS commented 3 weeks ago

Oh, and while I'm at it, just remove ConcurrencyControlMode.

Clean up ILockTable, OverflowBucketLockTable, InternalLock.cs, and LockableContext.cs to streamline the locking calls, remove passing of the actual key (hashcode or bucket is sufficient), and clarify the current use of Transient vs. Manual