mnesia replication
Serge Aleynikov
serge@REDACTED
Wed Aug 31 14:43:27 CEST 2005
Dan Gudmundsson wrote:
> chandru writes:
> > Hi,
> >
> > On 30/08/05, Serge Aleynikov <serge@REDACTED> wrote:
> > > Hello,
> > >
> > > Could someone comment on the effect of short network outages ( < 10-15
> > > s) on mnesia replication and how to prevent the inconsistency
> > > demonstrated in the example below? I intentionally did not alter the
> > > net_ticktime kernel parameter so that it would be greater than the
> > > duration of the brief network outage.
> >
> > You can't really prevent this inconsistency if you are using dirty
> > operations. Have you tried the same test using transactions instead of
> > dirty operations.
>
> Since dirty_operation don't grab a lock you should be able see the same problem
> with a working network ..
>
> Dirty is dirty, be aware of that.
Thanks, this makes sense to me now. While I was attributing this
artifact to a network loss, it indeed had nothing to do with the network
setup.
--
Serge Aleynikov
R&D Telecom, IDT Corp.
Tel: (973) 438-3436
Fax: (973) 438-1464
serge@REDACTED
More information about the erlang-questions
mailing list