mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 23:39:33 +01:00
A renewal can rotate the token server-side before its response is lost, and clearing the token on any RPC failure then abandons a live lease the client can neither renew nor unlock. Keep the token so the next attempt retries with it: it still validates when the request never landed, and a definitive rejection clears it through the response's empty RenewToken.