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: v04 new heartbeat #96

Merged
merged 2 commits into from
Sep 1, 2023
Merged

feat: v04 new heartbeat #96

merged 2 commits into from
Sep 1, 2023

Conversation

fengjiachun
Copy link
Contributor

@fengjiachun fengjiachun commented Aug 30, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Due to the historical level incompatible upgrade of 0.4 region server, some changes also need to be made in the Heartbeat section accordingly. This PR mainly includes the following modifications:

  • Remove NodeStat because the corresponding data can be calculated based on all RegionStats. We should keep the heartbeat packets as compact as possible and reduce redundant information.
  • Remove attrs since it seems to be of no use
  • Replace TableIdent with RegionId, and note that we are now dealing with region server(datanode), so it's best not to focus on table information.

Checklist

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

Refer to a related PR or issue link (optional)

@fengjiachun fengjiachun changed the title feat: new heartbeat feat: v04 new heartbeat Aug 31, 2023
@fengjiachun fengjiachun merged commit b585955 into main Sep 1, 2023
6 checks passed
@fengjiachun fengjiachun deleted the feat/new-heartbeat branch September 1, 2023 03:51
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.

3 participants