On 08/26/2014 02:10 PM, dbsrgits sync wrote:<br>
&gt; &gt; First of all many thanks for the time looking into this! I would <br>
&gt; however<br>
&gt; &gt; like for you to look deeper into the issue. The current behavior seems<br>
&gt; &gt; wrong in itself, therefore the result is you adding a bandaid fixing<br>
&gt; &gt; something that should not have been there in the first place.<br>
&gt; &gt;<br>
&gt; &gt; The problem on the table is: we are connecting twice.<br>
&gt; &gt; The correct question isn&#39;t &quot;why aren&#39;t we disconnecting&quot;, but rather <br>
&gt; &quot;why<br>
&gt; &gt; are we connecting twice?!&quot;<br>
&gt; &gt;<br>
&gt; &gt; The solution would lie in examining the ::Versioned code and <br>
&gt; determining<br>
&gt; &gt; whether any of the -&gt;connect calls have anything special done to their<br>
&gt; &gt; connect attributes. If this is *not* the case (i.e. we always <br>
&gt; connect to<br>
&gt; &gt; the same place *anyway*) - then clearly you are looking into a shared<br>
&gt; &gt; $dbh as can be seen in the *second* bullet point here:<br>
&gt; &gt; https://metacpan.org/pod/DBIx::Class::Storage::DBI#connect_info. I will<br>
&gt; &gt; not be available for most of this week, please ask @frioux<br>
&gt; &gt; &lt;https://github.com/frioux&gt; for help if you get stuck and/or have <br>
&gt; trouble<br>
&gt; &gt; navigating my explanation.<br>
&gt; &gt;<br>
&gt;<br>
&gt; @Peter: this sounds to me like a consequence of the connection race<br>
&gt; condition we debugged and fixed some month ago where the wrong connection<br>
&gt; got the session parameters set but the other one got used.<br>
&gt;<br>
Could you remind me which issue this was? .../Schema/Versioned.pm has <br>
not been touched since 2011, hence I am confused which issue/fix are you <br>
referring to.

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/57#issuecomment-53414571">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/302594__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDY3NjMzNiwiZGF0YSI6eyJpZCI6NDA1Mzc4OTd9fQ==--f6942d6846329309872fd3088dcac5f62af02758.gif" width="1" /></p>