Skip to content
Newer
Older
100644 40 lines (30 sloc) 1.63 KB
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
1 (*
2 Copyright © 2011 MLstate
3
4 This file is part of OPA.
5
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.
9
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.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with OPA. If not, see <http://www.gnu.org/licenses/>.
17 *)
18 (** Binding of the local db3 db backend to the generic db interface Badop.
19
20 Remarks:
21
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.
26
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.
33
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 *)
38
39 include Badop.S
Something went wrong with that request. Please try again.