xline-kv/Xline

[Bug]: The xlinectl won't renew the lease of the lock key

Closed this issue · 0 comments

Description about the bug

The xlinectl won't renew the lease of the lock key during the lock usage.

How do we reproduce the issue?

  1. start up an xline cluster via quick_start.sh
  2. execute a watch command to watch the lock key
$ docker exec client /mnt/xlinectl --endpoints=http://172.20.0.3:2379,http://172.20.0.4:2379,http://172.20.0.5:2379 watch --prefix mutex
  1. execute the lock command on another terminal
$ docker exec client /mnt/xlinectl --endpoints=http://172.20.0.3:2379,http://172.20.0.4:2379,http://172.20.0.5:2379 lock mutex`
  1. wait the lock lease expires.

The result was pasted down below:
image

Version

0.6.1 (Default)

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct