<div dir="ltr"><div><div>Peter,<br><br></div>What I have in mind is that you normaly write to a &quot;primary&quot; server , but when that one is unavailable you start to write to the secondary server. Like a failover.<br>
<br></div>Theo<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 12, 2014 at 4:08 PM, Peter Rabbitson <span dir="ltr">&lt;<a href="mailto:rabbit+dbic@rabbit.us" target="_blank">rabbit+dbic@rabbit.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 07/23/2014 09:13 AM, Theo Bot wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Hi, I am stuck with a situation where I have two MySQL servers in a<br>
multi-master setup. I have to be able to write to both instances. But<br>
normally only one is used. Is there a way to use DBIx::Class in this<br>
kind of scenario?<br>
<br>
</blockquote>
<br></div></div>
You would write to both instances based on what criteria...? I though in multi-master you still write to only one of them...<br>
<br>
Please clarify<br>
<br>
<br>
______________________________<u></u>_________________<br>
List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" target="_blank">http://lists.scsys.co.uk/cgi-<u></u>bin/mailman/listinfo/dbix-<u></u>class</a><br>
IRC: <a href="http://irc.perl.org#dbix-class" target="_blank">irc.perl.org#dbix-class</a><br>
SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" target="_blank">http://dev.catalyst.perl.org/<u></u>repos/bast/DBIx-Class/</a><br>
Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" target="_blank">http://www.grokbase.com/group/<u></u>dbix-class@lists.scsys.co.uk</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Met vriendelijke groet,<br><br>Theo Bot<br>Network Management Engineer<br>Tel: +31653965698<br>e-mail: <a href="mailto:theo.bot@proxy.nl" target="_blank">theo.bot@proxy.nl</a><br>
Website: <a href="http://www.proxy.nl" target="_blank">http://www.proxy.nl</a><br>LinkedIn: <a href="http://www.linkedin.com/in/theobot" target="_blank">http://www.linkedin.com/in/theobot</a><br>
</div>