Bug 2046340
Summary: | ovsdb-server: raft: Transaction double commit on leadership transfer | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Ilya Maximets <i.maximets> |
Component: | ovsdb2.13 | Assignee: | Ilya Maximets <i.maximets> |
Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | FDP 22.A | CC: | ctrautma, jhsiao, qding, ralongi, tredaelli |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openvswitch2.13-2.13.0-184.el8fdp | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-09-06 18:48:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ilya Maximets
2022-01-26 16:05:26 UTC
Patch sent for review: https://patchwork.ozlabs.org/project/openvswitch/patch/20220505122439.523610-1-i.maximets@ovn.org/ * Thu May 26 2022 Open vSwitch CI <ovs-ci> - 2.13.0-184 - Merging upstream branch-2.13 [RH git: 9d3ca376af] Commit list: 91d3fc87ac classifier: Make find_match_wc() prototype and definition match. 78a5ad8051 ovsdb: raft: Fix transaction double commit due to lost leadership. (#2046340) d0171d3b47 Revert "odp-util: Always report ODP_FIT_TOO_LITTLE for IGMP." 5ae081baeb ofproto-dpif: Trigger revalidation if ct tp changes. the reproducer didn't fail on the old version openvwitch2.13-180. and logs on the fixed version openswitch2.13-184: [root@wsfd-advnetlab18 bz2046340]# grep "Transferring leadership" -A 2 /var/log/ovn/ovsdb-server-nb.log 2022-08-03T05:45:54.075Z|00035|raft|INFO|Transferring leadership to write a snapshot. 2022-08-03T05:45:54.084Z|00036|raft|INFO|server 92d9 is leader for term 2 2022-08-03T05:45:58.420Z|00037|memory|INFO|peak resident set size grew 106% in last 400.2 seconds, from 96268 kB to 198732 kB -- 2022-08-03T06:04:00.294Z|00043|raft|INFO|Transferring leadership to write a snapshot. 2022-08-03T06:04:01.173Z|00044|raft|INFO|server 92d9 is leader for term 4 2022-08-03T06:04:01.174Z|00045|raft|INFO|command completed after role change from leader to follower (eid: 9ae2bd2b-fd3f-4458-a61a-8c3af2a4c41e, commit index: 87301) -- 2022-08-03T06:27:54.826Z|00074|raft|INFO|Transferring leadership to write a snapshot. 2022-08-03T06:27:54.826Z|00075|raft|INFO|rejected append_reply (not leader) 2022-08-03T06:27:54.826Z|00076|raft|INFO|rejected append_reply (not leader) <=== Ilya, does the log show that the issue still exist on the new version? (In reply to Jianlin Shi from comment #5) > > 2022-08-03T06:27:54.826Z|00074|raft|INFO|Transferring leadership to write a > snapshot. > 2022-08-03T06:27:54.826Z|00075|raft|INFO|rejected append_reply (not leader) > > 2022-08-03T06:27:54.826Z|00076|raft|INFO|rejected append_reply (not leader) > > <=== Ilya, does the log show that the issue still exist on the new version? The log itself only indicates the condition in which the issue can happen. If you have the log like above, but the transaction didn't fail, it means that issue is fixed, i.e. the fix is working as expected. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (openvswitch2.13 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:6367 |