Skip to content

Commit

Permalink
Merge pull request #945 from happylixiao/devel
Browse files Browse the repository at this point in the history
bugfix: new_vs quorum_up script will not be excuted
  • Loading branch information
ywc689 authored Apr 30, 2024
2 parents cead683 + aa9f6fe commit f30c588
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/keepalived/keepalived/check/ipwrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,12 @@ clear_diff_rs(virtual_server_t *old_vs, virtual_server_t *new_vs, list old_check
}
}
clear_service_rs(old_vs, rs_to_remove, false);

//keep new_vs quorum_state_up same with old_vs
if (old_vs->quorum_state_up != new_vs->quorum_state_up) {
new_vs->quorum_state_up = old_vs->quorum_state_up;
}

free_list(&rs_to_remove);
}

Expand Down

0 comments on commit f30c588

Please sign in to comment.