Define consul lock communication more explicitly...
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
From the docs (https://consul.io/docs/commands/lock.html)
``` txt
If the lock is lost or communication is disrupted, the child process is terminated.
```
What exactly does this mean? Does it mean the TCP connection between the agent holding the lock and the server with the leader status is interrupted? How does the "communication is disrupted" interact with Serf for liveliness?
If there is a partition between the agent holding the lock (AgentA) and the server leader, but the AgentA is still on the network and able to be contacted by Serf from other Agents in the data center, what happens? Said another way, if AgentA can't talk to the Server, but AgentB can reach both AgentA and the Server, how does the system handle this degraded state?
Contributor guide
Assessment
This issue has not been assessed yet.