jgroups-raft icon indicating copy to clipboard operation
jgroups-raft copied to clipboard

Lock service

Open yfei-z opened this issue 1 year ago • 5 comments

A RAFT implementation of lock service

yfei-z avatar Oct 25 '24 04:10 yfei-z

Hey, @yfei-z. I'll take a look. Some things missing are a design document in the ./doc/design/ folder and expanding the Java docs at the LockService class. It should include information such as the guarantees, what happens in case of failures (node holding a lock, leader loss, majority loss, etc.), and, if necessary, usage patterns.

On a side note, I am skeptical about distributed locks, even in consensus. I am not the author, but I agree with https://belaban.blogspot.com/2020/11/i-hate-distributed-locks.html

jabolina avatar Oct 27 '24 14:10 jabolina

Yes, I will complete the docs.

yfei-z avatar Oct 28 '24 09:10 yfei-z

Hi @jabolina. I have finished the initial doc, and I will continue to improve it if I think of anything else, you can take a look.

yfei-z avatar Nov 06 '24 10:11 yfei-z

Thanks for the work, @yfei-z! I'll take a look.

jabolina avatar Nov 07 '24 11:11 jabolina

I think the problem of the query command is that it could be failed. I will reconsider it. I am quit busy recently, I will do it as soon as possible.

yfei-z avatar Dec 31 '24 09:12 yfei-z