https://bugs.openldap.org/show_bug.cgi?id=9225
Bug ID: 9225 Summary: back-mdb: Add support for PREPARE/2-phase commit Product: OpenLDAP Version: 2.4.50 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
Add support for PREPARE/2-phase commit in back-mdb
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |9224 Target Milestone|--- |2.4.50
Referenced Bugs:
https://bugs.openldap.org/show_bug.cgi?id=9224 [Bug 9224] Add support for PREPARE/2-phase commit
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |OL_2_5_REQ Target Milestone|2.4.50 |2.5.0
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|2.4.50 |2.5
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.0 |2.5.1
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|OL_2_5_REQ |reviewed Target Milestone|2.5.1 |2.6.0
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|reviewed | Target Milestone|2.6.0 |2.7.0 Severity|normal |enhancement
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9225
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |9009
Referenced Issues:
https://bugs.openldap.org/show_bug.cgi?id=9009 [Issue 9009] 2.7: Switch to LMDB v1.0
https://bugs.openldap.org/show_bug.cgi?id=9225
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |9398
Referenced Issues:
https://bugs.openldap.org/show_bug.cgi?id=9398 [Issue 9398] Stale accesslog cookie due to unclean shutdown
https://bugs.openldap.org/show_bug.cgi?id=9225 Issue 9225 depends on issue 9224, which changed state.
Issue 9224 Summary: Add support for PREPARE/2-phase commit https://bugs.openldap.org/show_bug.cgi?id=9224
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
https://bugs.openldap.org/show_bug.cgi?id=9225
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |SUSPENDED
--- Comment #1 from Howard Chu hyc@openldap.org --- It's already available in LMDB 1.0 but it's not really interesting in back-mdb itself. The interesting use case is for backglue; if a client requests a transaction that spans multiple backends then backglue must use 2 phase commit to arrange it on all of the independent backends. There's also still an atomicity issue: after all of the target backends Prepare successfully, their final commits may not all happen in the same instant since they still need to be requested individually on each backend. It kind of implies that a global lock is needed on each target backend that won't be released until all of the commit requests finish.
I suggest we postpone this.
https://bugs.openldap.org/show_bug.cgi?id=9225
--- Comment #2 from Ondřej Kuzník ondra@mistotebe.net --- No issues with postponing, just one more potential use case (related ticket is 9398): with accesslog the op could be prepared in both and then committed in order.
https://bugs.openldap.org/show_bug.cgi?id=9225 Issue 9225 depends on issue 9009, which changed state.
Issue 9009 Summary: 2.7: Switch to LMDB v1.0 https://bugs.openldap.org/show_bug.cgi?id=9009
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED