-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add ignore_network_errors_at_startup #1399
add ignore_network_errors_at_startup #1399
Conversation
@repeatedly Could you review this change? |
762b3f1
to
c761785
Compare
@repeatedly ping |
This is incomplete. fluentd/lib/fluent/plugin/out_forward.rb Line 321 in 9068e0f
|
@repeatedly Heartbeat handler sends heartbeats by |
Really?
|
Oops, I misunderstood the problem... (and the former pull-request also doesn't solve this problem). |
@repeatedly I pushed a commit for that case. |
@repeatedly hey |
dest_addr = resolved_host | ||
@resolved_once = true | ||
rescue ::SocketError | ||
if !@resolved_once && @ignore_network_errors_at_startup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ignore_network_errors_at_startup
is not a Node's instance variable.
@resolved_once = true | ||
rescue ::SocketError | ||
if !@resolved_once && @ignore_network_errors_at_startup | ||
log.warn "failed to resolve node name in heartbeating", server: (n.name || n.host), error: e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log
, n
and e
are not defined.
b058cb2
to
a3c233c
Compare
a3c233c
to
d63e5e4
Compare
@repeatedly pushed updated commits. |
LGTM |
This change is revival of #735, for v0.14
out_forward
.This parameter is used for the case: deployment systems will create the DNS records of hosts in
<server>
.