<div dir="ltr"><div>Hello All.<br><br></div>We suppose to have common database code oslo.db library. So we decided to let end applications to cope with engines, not oslo.db. For example, see work with slave engine in Nova [1]. These is also patch to oslo with more details - [2]<br>
<br>Also, Darren, please inform us about your usecase a bit.<br><br><div>[1] <a href="https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L95">https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L95</a><br>
[2] <a href="https://review.openstack.org/#/c/68684/">https://review.openstack.org/#/c/68684/</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 6:35 PM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
<div class="">On Wed, Mar 5, 2014 at 10:43 AM, Alexei Kornienko <span dir="ltr"><<a href="mailto:alexei.kornienko@gmail.com" target="_blank">alexei.kornienko@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hello Darren,<br>
      <br>
      This option is removed since oslo.db will no longer manage engine
      objects on it's own. Since it will not store engines it cannot
      handle query dispatching.<br>
      <br>
      Every project that wan't to use slave_connection will have to
      implement this logic (creation of the slave engine and query
      dispatching) on it's own.<br></div></div></blockquote><div><br></div></div><div><div class="gmail_default" style="font-size:small">If we are going to have multiple projects using that feature, we will have to restore it to oslo.db. Just because the primary API won't manage global objects doesn't mean we can't have a secondary API that does.</div>
<span class="HOEnZb"><font color="#888888">
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Doug</div><br></font></span></div><div class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000"><div>
      <br>
      Regards,<div><div><br>
      <br>
      On 03/05/2014 05:18 PM, Darren Birkett wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr"><font color="#000000">Hi,</font>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000">I'm wondering why in this commit:</font></div>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000"><a href="https://github.com/openstack/oslo-incubator/commit/630d3959b9d001ca18bd2ed1cf757f2eb44a336f" target="_blank">https://github.com/openstack/oslo-incubator/commit/630d3959b9d001ca18bd2ed1cf757f2eb44a336f</a><br>


          </font></div>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000">...the slave_connection option was
            removed.  It seems like a useful option to have, even if a
            lot of projects weren't yet using it.</font></div>
        <div><font color="#000000"><br>
          </font></div>
        <div><font color="#000000">Darren</font></div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div><pre>_______________________________________________
OpenStack-dev mailing list
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </div></blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div></div><br></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>