-
Notifications
You must be signed in to change notification settings - Fork 59
Conversation
"partition_guardian_type", | ||
"partition_guardian", | ||
"partition guardian provider"); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of the partition_guardian_type
is "partition_guardian", does it have another type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is another type name dummy_partition_guardian
in unit test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, expecting your next pr to add those configuration in config files and adding comments for it.
pc_status ps = pc_status::invalid; | ||
node_state *ns; | ||
|
||
configuration_proposal_action act; | ||
while (ps != pc_status::healthy) { | ||
ps = lb->cure({&apps, &nodes}, pc.pid, act); | ||
ps = guardian.cure({&apps, &nodes}, pc.pid, act); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The unit test is guardian test
, but not the file name balancer_validator
mean, you can also separate it from this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. It`s a function used in balancer_validator, which used to test greedy load balancer
remove simple_load_balancer, and make the interface server_load_balancer simple.
Manual Test