Analog of '-monitor-retry' option for put command or create session via HTTP command
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
Hi, everyone!
Is there some analog for '-monitor-retry' option via consul put command or during session creation?
I want something like this for example via consul client:
`consul kv put -acquire -monitor-retry=20 -session= `
Or via curl:
`curl -s --request PUT --data '{..., "MonitorRetry": 20, ...}' http://127.0.0.1:8500/v1/session/create`
I got three 500 error response code and consul exited. I want to increase this parameter.
Contributor guide
Research direction
Start by tracing the consul kv put command and the /v1/session/create entry point, focusing on the existing -monitor-retry and MonitorRetry references. Confirm how session monitoring and the three 500 responses are handled; done means the requested retry setting is consistently accepted and applied through the CLI and HTTP API, with coverage for both paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100