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

fix: Report Raft heartbeat metrics for Zero v=3 logs and log read index. #6553

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Sep 21, 2020

Cherry-pick of #6538.

When logging in v=3, the Zero heartbeat logs would show 0 heartbeats
even when the quorum is healthy:

RaftComm: [0x1] Heartbeats out: 0, in: 0

This change fixes the reporting for Zero instances by calling
ReportRaftComms in Zero:

RaftComm: [0x1] Heartbeats out: 28, in: 28

Also, this adds a log for read index to check for healthiness for read
index calls.

Co-authored-by: Manish R Jain [email protected]
(cherry picked from commit 241e59a)


This change is Reviewable

Docs Preview: Dgraph Preview

…ex. (#6538)

When logging in v=3, the Zero heartbeat logs would show 0 heartbeats
even when the quorum is healthy:

    RaftComm: [0x1] Heartbeats out: 0, in: 0

This change fixes the reporting for Zero instances by calling
ReportRaftComms in Zero:

    RaftComm: [0x1] Heartbeats out: 28, in: 28

Also, this adds a log for read index to check for healthiness for read
index calls.

Co-authored-by: Manish R Jain <[email protected]>
(cherry picked from commit 241e59a)
@danielmai danielmai requested review from manishrjain and a team as code owners September 21, 2020 22:31
@danielmai danielmai merged commit 4c9f139 into release/v20.03 Sep 22, 2020
@danielmai danielmai deleted the danielmai/v20.03-zero-raft-heartbeats branch September 22, 2020 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants