[ovs-dev] [PATCH] raft: Add 'stop-raft-rpc' failure test command.

Ilya Maximets i.maximets at ovn.org
Mon Mar 1 20:21:21 UTC 2021


On 2/25/21 8:16 AM, Han Zhou wrote:
> 
> 
> On Tue, Feb 23, 2021 at 5:18 AM Ilya Maximets <i.maximets at ovn.org <mailto:i.maximets at ovn.org>> wrote:
>>
>> This command will stop sending and receiving any RAFT-related
>> traffic or accepting new connections.  Useful to simulate
>> network problems between cluster members.
>>
>> There is no unit test that uses it yet, but it's convenient for
>> manual testing.
>>
>> Signed-off-by: Ilya Maximets <i.maximets at ovn.org <mailto:i.maximets at ovn.org>>
>> ---
>>  ovsdb/raft.c | 31 +++++++++++++++++++++----------
>>  1 file changed, 21 insertions(+), 10 deletions(-)
> 
> Acked-by: Han Zhou <hzhou at ovn.org <mailto:hzhou at ovn.org>>

Thanks!
Applied to master.

Best regards, Ilya Maximets.


More information about the dev mailing list