Skip to content


Subversion checkout URL

You can clone with
Download ZIP
100644 35 lines (29 sloc) 1.45 KB
fccc685 Initial open-source release
MLstate authored
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 (** Synchronous binding of the local db3 database backend
19 to the generic db interface Badop.
21 This backend forbids concurrent transactions. Consequently, all reads
22 and writes can be performed at once, with no waiting and no overhead.
23 If a transaction is started before the previous one is comitted,
24 a conflict is signalled.
25 There are two additional deviatious from the standard behaviour
26 of transactions: you can't abort them, neither before nor after preparing,
27 and all requested single writes are always carried out, even if they
28 overwrite each other inside the same transaction. OTOH, lists of writes
29 and deletes performed with [write_list] are simplified in the usual way
30 and only the needed ones are executed.
31 *)
32 (* Not implemented yet
33 include (Badop.S with type revision = Common.rev)
34 *)
Something went wrong with that request. Please try again.