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

Introduce exit-on-cluster-config-file-save-error to prevent the process from existing when saving fails #1032

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Commits on Sep 14, 2024

  1. Introduce exit-on-cluster-config-file-save-error to prevent the proce…

    …ss from existing when saving fails
    
    In clusterSaveConfigOrDie, we will exit directly when saving
    fails. In the case of disk failure, the cluster node will exit
    immediately if there are some changes around the cluster.
    
    Passive exit may bring unexpected effects, such as cluster down.
    Provoide exit-on-cluster-config-file-save-error configuration
    timen to control this behavior. Users who do not rely on nodes.conf
    can actively migrate it later (or during low traffic periods).
    
    Signed-off-by: Binbin <binloveplay1314@qq.com>
    enjoy-binbin committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    9f1aea0 View commit details
    Browse the repository at this point in the history