Changes between Version 3 and Version 4 of Ticket #3773
- Timestamp:
- 2021-08-18T15:32:20Z (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3773 – Description
v3 v4 2 2 2. Cancelling leases is not actually supported. 3 3 3. The way lease renewal secrets are generated is likely to change in the switchover from foolscap to HTTP. 4 4. Internally, the server _already_ treats renewing a lease as potentially adding a new one if renewal fails.4 4. Internally, the server _already_ treats adding a lease as potentially just renewing a lease. 5 5 6 6 As such, the distinction between adding a lease and renewing a lease is unnecessary (presuming item 4 is actually correct!). We would like to simplify HTTP protocol by removing it, and we need to make sure server can gracefully handle clients switching their renewal secret. … … 9 9 10 10 1. Validate item 4 above, since it's critical requirement for the rest of this. 11 2. In Foolscap client, switch to only using renewalcode path.12 3. Make sure server creating new lease when renewal fails is well tested, so users don't lose data.11 2. In Foolscap client, switch to only using add lease code path. 12 3. Make sure server creating renews lease in add path. 13 13 4. On server-side, leave new lease Foolscap endpoint in place for backwards compat. 14 14 5. In new GBS HTTP protocol spec, switch to a single end point for lease creation/renewal, and remove all references to lease cancellation secret.