Xline
Xline copied to clipboard
[Bug]: The xlinectl won't renew the lease of the lock key
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?
- start up an xline cluster via quick_start.sh
- 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
- 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`
- wait the lock lease expires.
The result was pasted down below:
Version
0.6.1 (Default)
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct