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

feat: Make heartbeat intervals configurable in Frontend and Datanode #1864

Merged

Conversation

ccjeff
Copy link
Contributor

@ccjeff ccjeff commented Jul 2, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Updated frontend to unify the heartbeat task unit with data node (changing from seconds to milliseconds), also making the intervals configurable

Please explain IN DETAIL what the changes are in this PR and why they are needed:

  • Summarize your change (mandatory)
    updated instance/frontend to accommodate this change

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

close #1792

@ccjeff ccjeff marked this pull request as ready for review July 2, 2023 22:18
@MichaelScofield
Copy link
Collaborator

@ccjeff great! However, the rustfmt check in CI is not passed, please fix it.

@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #1864 (1e68540) into develop (783a794) will decrease coverage by 0.24%.
The diff coverage is 93.33%.

@@             Coverage Diff             @@
##           develop    #1864      +/-   ##
===========================================
- Coverage    86.47%   86.24%   -0.24%     
===========================================
  Files          589      589              
  Lines        95647    95654       +7     
===========================================
- Hits         82714    82495     -219     
- Misses       12933    13159     +226     

@ccjeff
Copy link
Contributor Author

ccjeff commented Jul 3, 2023

@ccjeff great! However, the rustfmt check in CI is not passed, please fix it.

Sry I didn't check the format earlier. I've updated to fix the rustfmt check. Thanks!

@MichaelScofield MichaelScofield merged commit e54415e into GreptimeTeam:develop Jul 3, 2023
@MichaelScofield
Copy link
Collaborator

@ccjeff welcome on board!

paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make heartbeat intervals configurable in Frontend and Datanode
3 participants