Bug 2137412 - Make IDL clients connect to the new leader when a transaction fails due to leadership change.
Summary: Make IDL clients connect to the new leader when a transaction fails due to le...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch
Version: FDP 22.E
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: qding
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-24 20:00 UTC by Mark Michelson
Modified: 2023-07-13 07:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2398 0 None None None 2022-10-24 20:07:15 UTC

Description Mark Michelson 2022-10-24 20:00:52 UTC
This issue is created as a follow-up of https://bugzilla.redhat.com/show_bug.cgi?id=1999650 .

Specifically, this issue is intended to ensure that the C and python IDL clients for OVSDB will connect to the new leader when a transaction fails due to a RAFT leadership change. Currently, the initial transaction failure is reported via the IDL to the client, and the client will likely re-attempt the transaction. However, behind the scenes, the initial transaction was actually successful on the new leader, so re-attempting the transaction will fail since it will appear that we are inserting the same record a second time.


Note You need to log in before you can comment on or make changes to this bug.