<div dir="ltr">On Wed, Apr 19, 2017 at 10:51 AM, Ruslan Ermilov <span dir="ltr"><<a href="mailto:ru@nginx.com" target="_blank">ru@nginx.com</a>></span> wrote:<span class="gmail-"></span><br><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
</span>And what about the next request when all of servers are either "down"<br>
or "unavailable"?<br></blockquote><div><br><div style="font-size:small;color:rgb(51,51,153);display:inline" class="gmail_default"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">To me, all the unavailable servers have been 'tried', ie their state has been checked, as <a href="http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream">the docs</a> say every server of an upstream group will be checked.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Thus,
they should all appear, along with the time it took for that lookup to
be made (usually 0.000 since no communication occurred and a simple
internal check has probably been made for the duration of the
'unavailable' state).<br></div><br><div style="font-size:small;color:rgb(51,51,153)" class="gmail_default">No special value whatsoever, as none required, and the grammar of the 2 variables is stable.</div>If
an explicit message about attempts against completely unavailable
upstream groups should be logged, it would be so in the error log.</div><br clear="all"><div style="font-size:small;color:rgb(51,51,153)" class="gmail_default"><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b></font><br></div></div></div></div></div></div></div>