On Mon, Dec 09, 2013 at 05:18:30PM +0800, Robin Dong wrote:
> From: Robin Dong
>
> Using only lock_id as parameter of lock interface and reduce function to only
> two:
>
> lock(uint64_t lock_id)
> unlock(uint64_t lock_id)
>
> The ->lock will create and acquire the distributed lock a
From: Robin Dong
Using only lock_id as parameter of lock interface and reduce function to only
two:
lock(uint64_t lock_id)
unlock(uint64_t lock_id)
The ->lock will create and acquire the distributed lock and ->unlock will
release it which is more convient for end user.
We use ex