Bug 1836307
| Summary: | [ovsdb-server] Memory leak of RAFT incomplete command | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Dumitru Ceara <dceara> |
| Component: | openvswitch2.13 | Assignee: | Dumitru Ceara <dceara> |
| Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | RHEL 8.0 | CC: | ctrautma, i.maximets, jhsiao, jishi, kfida, qding, ralongi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openvswitch2.13-2.13.0-28.el8fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1835729 | Environment: | |
| Last Closed: | 2020-07-15 12:58:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1835729 | ||
| Bug Blocks: | |||
|
Description
Dumitru Ceara
2020-05-15 15:20:59 UTC
* Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-28 - raft: Disable RAFT jsonrpc inactivity probe. (#1836308) [3d9b529afb098531190d57d6f35d1622bb4093cd] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-27 - raft: Fix leak of the incomplete command. (#1836307) [5c38ccd52fb3925e82eda20f1897ec02abb390d9] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-26 - raft: Fix the problem of stuck in candidate role forever. (#1836305) [9c76350e271546eedfeb18720975e35b4e36e1f1] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-25 - raft: Fix next_index in install_snapshot reply handling. (#1836305) [cc3d02699203e2fe9d9fd384d09e268ba614828d] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-24 - raft: Avoid busy loop during leader election. (#1836305) [053b78c8d60ffb4d212fd7894f91be52027f291f] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-23 - raft: Fix raft_is_connected() when there is no leader yet. (#1836305) [e732012d7be335650398ff03c2431c64b2c4aaba] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-22 - ovsdb-server: Don't disconnect clients after raft install_snapshot. (#1836305) [8ff30dfee6cb075e36ed38b77695ff03321ce12b] * Fri May 15 2020 Dumitru Ceara <dceara> - 2.13.0-21 - raft-rpc: Fix message format. (#1836305) [914d885061c9f7e7e6e5f921065301e08837e122] I verified the fix on the downstream package by running the ovsdb-cluster testsuite with valgrind, essentially test case "OVSDB cluster - txn on follower-2, follower-2 crash before sending execReq, reconnect to follower-3". On openvswitch2.13-2.13.0-25 (without fix): # clone the openvswitch2.13 dist-git repo. # checkout the revision corresponding to openvswitch2.13-2.13.0-25. $ rh-pgk prep $ cd ovs-2.13.0 && ./boot.sh && ./configure $ make check-ovsdb-cluster-valgrind TESTSUITEFLAGS="124" [...] 124: OVSDB cluster - txn on follower-2, follower-2 crash before sending execReq, reconnect to follower-3 ok [...] $ grep "are definitely lost" tests/ovsdb-cluster-testsuite.dir/*/valgrind.* tests/ovsdb-cluster-testsuite.dir/124/valgrind.17664:==17664== 72 bytes in 1 blocks are definitely lost in loss record 452 of 642 On openvswitch2.13-2.13.0-28 (with fix): $ make check-ovsdb-cluster-valgrind TESTSUITEFLAGS="126" [...] 126: OVSDB cluster - txn on follower-2, follower-2 crash before sending execReq, reconnect to follower-3 ok [...] $ grep "are definitely lost" tests/ovsdb-cluster-testsuite.dir/*/valgrind.* $ Jianlin, could you please move this to VERIFIED, I don't seem to have the rights to do that. Thanks, Dumitru 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, 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-2020:2948 |