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