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: prevent registering logical regions with AliveKeeper #3965

Merged
merged 3 commits into from
May 17, 2024

Conversation

WenyXu
Copy link
Member

@WenyXu WenyXu commented May 16, 2024

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

fix #3596

What's changed and what's your intention?

Prevent registering logical regions with AliveKeeper.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.

@WenyXu WenyXu requested review from waynexia, v0y4g3r, evenyag and a team as code owners May 16, 2024 13:58
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label May 16, 2024
Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 91.37931% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 85.41%. Comparing base (93f178f) to head (520ee73).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3965      +/-   ##
==========================================
- Coverage   85.65%   85.41%   -0.25%     
==========================================
  Files         973      978       +5     
  Lines      167411   168325     +914     
==========================================
+ Hits       143389   143767     +378     
- Misses      24022    24558     +536     

Copy link
Collaborator

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WenyXu WenyXu changed the title fix: fix registering metric region to AliveKeeper fix: prevent registering logical regions with AliveKeeper. May 16, 2024
@WenyXu WenyXu changed the title fix: prevent registering logical regions with AliveKeeper. fix: prevent registering logical regions with AliveKeeper May 16, 2024
@WenyXu WenyXu mentioned this pull request May 17, 2024
13 tasks
src/mito2/src/engine.rs Outdated Show resolved Hide resolved
src/datanode/src/region_server.rs Outdated Show resolved Hide resolved
@WenyXu WenyXu added this pull request to the merge queue May 17, 2024
Merged via the queue into main with commit f696f41 May 17, 2024
21 checks passed
@WenyXu WenyXu deleted the feat/register-logical-table branch May 17, 2024 07:53
WenyXu added a commit to WenyXu/greptimedb that referenced this pull request May 21, 2024
…am#3965)

* fix: register logical region

* chore: fix Clippy

* chore: apply suggestions from CR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shouldn't register metric region to alivekeeper
3 participants