replicated mnesia write operations

Roberto Ostinelli <>
Mon Sep 28 16:39:34 CEST 2009


dear all,

let's say that i have a mnesia database on node 1, which has a
disc_copy on node 2.

+--------------+    +--------------+
| db disc_copy |____| db disc_copy |
| node 1       |    | node 2       |
+--------------+    +--------------+

i would like the following:

* WRITE operations on node 1 get propagated to (pretty standard behaviour):
  . disc and ram on node 1
  . disc and ram on node 2

* WRITE operations on node 2 get ONLY propagated to:
  . ram on node 2

i.e. i would like that write operations on node 2 do not get
propagated to node 1, nor to the disc of node 2.

is this possible?

r.


More information about the erlang-questions mailing list