Skip to content
Commit Detail

Commit 97d3668

Author
Rachel Chen <rachel@chens.email> 2022-08-07 14:25:59 -0700
Parents
cb29ec8
Tree
2c3a62c
spec/chord_kv: introduces Lease Acquire/Renew/Release

This commit introduces new APIs to chord.KV interface, and allowing a
caller to hold a lease for a specific lease name, with time-to-live auto
expiring leases.

TODO: grab a monitonic clock from the time package somehow

Files changed

16 files changed+2 added~14 modified