Skip to content

feat: v04 new heartbeat#96

Merged
fengjiachun merged 2 commits intomainfrom
feat/new-heartbeat
Sep 1, 2023
Merged

feat: v04 new heartbeat#96
fengjiachun merged 2 commits intomainfrom
feat/new-heartbeat

Conversation

@fengjiachun
Copy link
Copy Markdown
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
@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