top | item 2803366

(no title)

cx01 | 14 years ago

> the client would declare all locks upfront

But if the client crashes after acquiring the locks, wouldn't your system be deadlocked?

discuss

order

IgorPartola|14 years ago

Breaking the connection would release the locks.

damienkatz|14 years ago

TCP doesn't "break" connections like that. Cleanly closing sockets breaks connections, but machines that crash or drop off the network won't be noticed until the connection times out, which is typically on the order of many minutes.