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

m2k_cluster_sync: Add an application env. var. to disable the cluster repair mechanism #27

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dumbbell
Copy link
Member

Why

The caller may want to forcibly reset a Khepri node without a clean unclustering, leaving other nodes connected and thinking they are still connected to the reset node.

This is the case of RabbitMQ with it "force reset" command.

How

This application environment variable allows it to prever the repair mechanism to revert that reset and put the reset node back into the cluster.

… repair mechanism

[Why]
The caller may want to forcibly reset a Khepri node without a clean
unclustering, leaving other nodes connected and thinking they are still
connected to the reset node.

This is the case of RabbitMQ with it "force reset" command.

[How]
This application environment variable allows it to prever the repair
mechanism to revert that reset and put the reset node back into the
cluster.
@dumbbell dumbbell added the enhancement New feature or request label Jan 30, 2025
@dumbbell dumbbell added this to the v0.8.0 milestone Jan 30, 2025
@dumbbell dumbbell self-assigned this Jan 30, 2025
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.54%. Comparing base (d01463f) to head (ae55a08).

Files with missing lines Patch % Lines
src/m2k_cluster_sync.erl 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   71.34%   71.54%   +0.20%     
==========================================
  Files          13       13              
  Lines         705      710       +5     
==========================================
+ Hits          503      508       +5     
  Misses        202      202              
Flag Coverage Δ
erlang-25 71.54% <83.33%> (+0.20%) ⬆️
erlang-26 71.54% <83.33%> (+0.20%) ⬆️
erlang-27 71.40% <83.33%> (+0.20%) ⬆️
os-ubuntu-latest 71.54% <83.33%> (+0.20%) ⬆️
os-windows-latest 71.54% <83.33%> (+0.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant