https://bugs.openldap.org/show_bug.cgi?id=9892
Issue ID: 9892 Summary: LDAP_TXN_SPECIFY assumes cleanup responsibility for writes but never performs it Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
When TXN extop is accepted and the client sends some write ops, the cleanup path is skipped within do_modify/do_add/... however the data is never actually freed when the transaction is being settled (regardless of whether it was committed successfully or aborted).
Confirmed to happen with do_modify by tests/scripts/lloadd/test007-coherence, for others it's my assumption based on reading the code.
https://bugs.openldap.org/show_bug.cgi?id=9892
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Assignee|bugs@openldap.org |ondra@mistotebe.net Target Milestone|--- |2.5.14
https://bugs.openldap.org/show_bug.cgi?id=9892
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/560
https://bugs.openldap.org/show_bug.cgi?id=9892
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• aa209e46 by Ondřej Kuzník at 2022-09-15T17:33:39+01:00 ITS#9892 Free operation data at the end of a transaction
https://bugs.openldap.org/show_bug.cgi?id=9892
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
https://bugs.openldap.org/show_bug.cgi?id=9892
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 96e5a2de by Ondřej Kuzník at 2022-09-26T16:30:42+00:00 ITS#9892 Free operation data at the end of a transaction
RE25:
• 739f4666 by Ondřej Kuzník at 2022-09-26T16:50:21+00:00 ITS#9892 Free operation data at the end of a transaction
https://bugs.openldap.org/show_bug.cgi?id=9892
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED