Skip to content
100644 40 lines (30 sloc) 1.63 KB
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
1 (*
2 Copyright © 2011 MLstate
4 This file is part of OPA.
6 OPA is free software: you can redistribute it and/or modify it under the
7 terms of the GNU Affero General Public License, version 3, as published by
8 the Free Software Foundation.
10 OPA is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
13 more details.
15 You should have received a copy of the GNU Affero General Public License
16 along with OPA. If not, see <>.
17 *)
18 (** Binding of the local db3 db backend to the generic db interface Badop.
20 Remarks:
22 Of all the transaction operations, only [prepare] can execute
23 its continuation asynchronously, as soon as previous, blocking commits
24 are done with. If the preparation fails, the continuations is still
25 executed, with the boolean value at [false], indicating failure.
27 The abort operation, in case of prepared transactions, does not
28 only abort them, but rolls back any state changes done by prepare.
29 This functionality is not reflected in the name, because it may only
30 be useful if a timeout expired between prepare and commit operation
31 and only if we decide to rollback and not commit in such a situation.
32 Still, this functionality is nice for low-level tests of rollbacks.
34 The [read (Badop.Revisions)] query, for now, should return all revisions
35 for a deleted node and only revisions since the last deletion for
36 a live node. To be changed in the future.
37 *)
39 include Badop.S
Something went wrong with that request. Please try again.