[erlang-questions] Amazon S3 backend for Mnesia
Joel Reymont
joelr1@REDACTED
Mon Jun 25 17:36:03 CEST 2007
Uffe,
Suppose I pick the first node in the external_copies list. If I'm
that node than I'll do the write and otherwise I'll do nothing.
What happens when the first node in the list goes down?
Does Mnesia update right away? How soon does it notice that the node
has gone down?
Does this mean that during that timeframe I'll be loosing
transactions since the first node will be down and others won't be
the first node?
Thanks, Joel
On Jun 4, 2007, at 3:13 PM, Ulf Wiger (TN/EAB) wrote:
> If you only care about doing it on one node at
> a time, you could use something like
> mnesia_lib:val({Tab,where_to_write}) and compare
> that with mnesia_lib:val({Tab,external_copies})
> (in the rdbms patch), and simply pick the first
> one in the list (the external_copies list will
> be in the same order on all nodes, but I don't
> think where_to_write necessarily is.)
--
http://topdog.cc - EasyLanguage to C# compiler
http://wagerlabs.com - Blog
More information about the erlang-questions
mailing list