deadline option of lease not work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 546
- Forks
- 76
- Avg merge
- 22h 46m
- Merged PRs (30d)
- 13
Description
I connect to remote etcd and set deadline +4s for lease call, but it cost 1 min to give error 14 UNAVAILABLE: failed to connect to all addresses. Socket keeps SYN_SENT state from ss -tpn.
The option dialTimeout for ETCD3 constructor doesn't work too.
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
Start by reproducing the remote etcd lease failure with a four-second deadline and an unreachable endpoint, then trace the lease call and the ETCD3 constructor's dialTimeout handling. Check the socket state and gRPC error timing; done means both options bound connection failures instead of waiting about a minute.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, node.js, typescript
- Domain
- api, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100