Obtain the lease id of a key, either via lease.put() or via separate api
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 546
- Forks
- 76
- Avg merge
- 22h 46m
- Merged PRs (30d)
- 13
Description
Thanks for much for your work.
One of our challenges debugging lease issues is not being able to correlate the created key via the lease put command.
a) For logging purposes, be useful to print out the lease id (visible later via etcdctl) of the lease used to create the item with the put command.
b) It would be useful if the lease creation provide the id of the lease that etcdctl sees, or had an api to get the key of a lease the key is associated with after the fact.
c) Lastly, it would be useful if etcdctl get command extracted the lease id with etcdctl if this could be passed on.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the lease.put(), lease-creation, and get entry points, then compare the available lease metadata with what etcdctl exposes; done should be a clearly scoped, tested way to obtain or report the lease ID.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, nodejs, typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100