Skip to content
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

Move tick check to after heartbeat for avoiding the impact of other node heartbeat. fix #1719 #1738

Merged
merged 1 commit into from
Nov 7, 2017

Conversation

repeatedly
Copy link
Member

@repeatedly repeatedly commented Nov 6, 2017

In the past, fluentd supports only UDP heartbeat and it uses async check between fluentd nodes.
So if previous node takes longer time for heartbeat, it doesn't affect elapsed time.
On the other hand, recent fluentd supports TCP heartbeat and it uses sync check via tcp connection.
So if previous node takes longer time, it affects elapsed time for current node and it causes misjudgment.
To avoid the problem, elapsed time calculation should be done after heartbeat.

@repeatedly repeatedly added the bug Something isn't working label Nov 6, 2017
@repeatedly repeatedly self-assigned this Nov 6, 2017
@repeatedly
Copy link
Member Author

@mururu Could you check this change?

Copy link
Member

@mururu mururu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@mururu
Copy link
Member

mururu commented Nov 7, 2017

Looks good.

@repeatedly repeatedly merged commit c61cfbf into master Nov 7, 2017
repeatedly added a commit that referenced this pull request Nov 14, 2017
Move tick check to after heartbeat for avoiding the impact of other node heartbeat. fix #1719
@repeatedly repeatedly deleted the fix-heartbeat-tick-check branch March 9, 2018 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants