-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_primary_peers doesn't return name #31
Comments
@r--w Right, the |
I understand, seems that enabling "zone" parameter also couses segmentation faults in workers. Unfortunatelly I don't have requirered C/nginx skills to fix that. I simply stopped using this parameter. |
@agentzh Possible to get any pointers on how to fix this issue? I have looked in the code, but have a hard time finding the parsing of upstreams. |
+1 'seems to be fixed with #67 (in my use case) |
Hello, it seems that when "zone" is defined the name filed is returned only for the first peer.
nginx version:
./nginx -v nginx version: openresty/1.9.15.1
upstreams.conf:
access.lua:
log.txt:
As you can see in the first log, the second "name " field is empty. If "zone" definition is removed than the result is ok. In contrast the upstream.get_servers method returns always good results.
This issue affects https://github.com/openresty/lua-resty-upstream-healthcheck
The text was updated successfully, but these errors were encountered: