microsoft / microsoft/etcd3

Obtain the lease id of a key, either via lease.put() or via separate api

Open
#151 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.