ovsdbapp can time out on raft leadership change
Bug #1988457 reported by
Terry Wilson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovsdbapp |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When raft leadership changes, any leader-only connections will be disconnected and will need to reconnect to the new leader. When this happens, the IDL will return a txn status of TRY_AGAIN. The current code tries to do an exponential backoff with sleep() due to an issue where those can be spammed 1000s of times a second. This sleep also prevents reconnecting quickly because idl.run() is not called rapidly and can lead to timeouts.
Changed in ovsdbapp: | |
status: | New → In Progress |
To post a comment you must log in.
https:/ /review. opendev. org/c/openstack /ovsdbapp/ +/855531