A · Acquire A lock acquire request. lease is the lease time in seconds — a safety net so that if the client dies without releasing, the server reclaims the lock once this time elapses. wait is the upper bound on how long to wait to acquire (in seconds); 0 means wait indefinitely. The response is Acquired A on success, or Timeout T if the wait fails.
Byte notation:
opis an ASCII character,waitandleaseare binary (u16, big-endian), andkeyis UTF-8 text (variable-length, shown asNin the structure). The trailing\nis0A.