Open pploegaert opened 7 years ago
Hmmm looking at this ticket more in detail and thinking about the implementation I have some concerns/ questions:
@pploegaert Any insights?
New suggested defaults: vrouter_redirect_timeout > vrouter_keepalive_time + vrouter_keepalive_interval_secs vrouter_keepalive_retries ? e.g. 120s > 15s + 2 5s = 25s
Scenario:
prerequisites: -- RORA should not be enabled -- reads must come from the backend via proxy not from the scocache -- use SYNC DTL
2 nodes A and B, edge client running on node C
1 edge client with initial connection node A + it's volume owned by A
write data to the volume
block edge connection towards node A (e.g. iptables drop)
edge client should reconnect to node B
continue writing data
redirect should now occur from voldrv on node B -> voldrv on node A
stop/kill the proxy
wait for the redirection timeout to occur
verify no stealing occurs
verify an I/O error occurs after the timeout
start the proxy
reads should now be possible again
First part of this test is similar to: #493 Previous mechanism used redirection timeout to steal the volume. Now a new keepalive mechanism is introduced which should trigger this. Hence the redirection timeout should only give an I/O error not result in volume stealing
Volumedriver parameters related to this testcase - all are dynamically reconfigurable:
Cover area
volumedriver HA
Additional information
Setup