openresty / openresty/lua-upstream-nginx-module
get_primary_peers api does not return the server's status (up or down)?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 153
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 2
Description
get_primary_peers api does not return the server's status (up or down), how can i get it ?
the openresty and patch version is as folows:
SZX1000012022:/usr/local/openresty/bin # ./resty -V
resty 0.03
nginx version: openresty/1.9.7.3
patch version:
patch -p0 < /usr/local/plf/nginx_upstream_check_module-master/check_1.9.2+.patch
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
Search the module for the get_primary_peers entry point and inspect how the nginx upstream-check patch exposes peer information. Clarify the expected up/down status representation before changing behavior. Done means the API consistently returns each primary peer's status, with coverage added if the repository has relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua, nginx
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100