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(admin): check cluster id in mrmanager #555

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Jul 31, 2023

What this PR does

This PR adds codes to check cluster id in mrmanager. Because the admin server doesn't have explicit health checking, comparing cluster id is performed in ClusterMetadataViewer.
In the next PR, checking the replication factor will be added.

@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (efe2d44) 61.12% compared to head (b958fe0) 61.24%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           mr_no_large_lock     #555      +/-   ##
====================================================
+ Coverage             61.12%   61.24%   +0.12%     
====================================================
  Files                   144      144              
  Lines                 19241    19242       +1     
====================================================
+ Hits                  11761    11785      +24     
+ Misses                 6888     6873      -15     
+ Partials                592      584       -8     
Files Coverage Δ
tests/it/testenv.go 34.59% <100.00%> (+0.05%) ⬆️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This PR adds codes to check cluster id in mrmanager. Because the admin server doesn't have explicit
health checking, comparing cluster id is performed in ClusterMetadataViewer.
In the next PR, checking the replication factor will be added.
@ijsong ijsong force-pushed the admin_mrmanager_check_cid branch from d01fafa to b958fe0 Compare October 4, 2023 07:37
@ijsong
Copy link
Member Author

ijsong commented Oct 4, 2023

Merge Activity

  • Oct 4, 5:10 AM: @ijsong started a stack merge that includes this pull request via Graphite.
  • Oct 4, 5:10 AM: @ijsong merged this pull request with Graphite.

Base automatically changed from mr_no_large_lock to main October 4, 2023 09:10
@ijsong ijsong merged commit 7794a6d into main Oct 4, 2023
@ijsong ijsong deleted the admin_mrmanager_check_cid branch October 4, 2023 09:10
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