8000 feat: add shard status when heartbeat to meta by jiacai2050 · Pull Request #1082 · apache/horaedb · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@jiacai2050
Copy link
Contributor
@jiacai2050 jiacai2050 commented Jul 18, 2023

Rationale

After #1080, ceresdb will not heartbeat to meta until all table open finished, that is to say that all tables inside a shard will not be used for write/read, which is unreasonable.

Detailed Changes

  • Introduce PartialOpen status sent to meta, and it will send this status when part of tables are opened, and meta will route table in this status.
  • Flush table when open successfully to reduce WAL size.

Test Plan

Manually

@jiacai2050 jiacai2050 marked this pull request as ready for review July 19, 2023 08:50
@Rachelint
Copy link
Contributor

LGTM

@jiacai2050 jiacai2050 force-pushed the feat-heartbeat-status branch from a937e87 to 350daaa Compare July 19, 2023 10:23
@jiacai2050 jiacai2050 merged commit 37d2dda into apache:main Jul 19, 2023
@jiacai2050 jiacai2050 deleted the feat-heartbeat-status branch July 19, 2023 11:35
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.

2 participants

0