<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    we had this in ceilometer events. you can see it here:
<a class="moz-txt-link-freetext" href="https://github.com/openstack/ceilometer/commit/898cd3d036c4358aa16f7b3e2028365dc9829213">https://github.com/openstack/ceilometer/commit/898cd3d036c4358aa16f7b3e2028365dc9829213</a><br>
    <br>
    note, that patch is removing it because it slowed everything way
    down because of locking. if you can avoid it, avoid it.<br>
    <br>
    <div class="moz-cite-prefix">On 08/12/2015 7:28 AM, Renat Akhmerov
      wrote:<br>
    </div>
    <blockquote
      cite="mid:257BABD5-BD60-4F55-A97F-DDFCD2025783@mirantis.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hi,
      <div class=""><br class="">
      </div>
      <div class="">Moshe, thanks a lot for bringing this up. I remember
        I tried to find a way to change isolation level per connection
        but also was unable to do that.</div>
      <div class=""><br class="">
      </div>
      <div class="">An advice from oslo team would be very helpful.</div>
      <div class=""><br class="">
        <div class="">
          <div class="">Renat Akhmerov</div>
          <div class="">@ Mirantis Inc.</div>
          <div class=""><br class="">
          </div>
          <br class="Apple-interchange-newline">
        </div>
        <br class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">On 08 Dec 2015, at 13:41, ELISHA, Moshe
              (Moshe) <<a moz-do-not-send="true"
                href="mailto:moshe.elisha@alcatel-lucent.com" class="">moshe.elisha@alcatel-lucent.com</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <div class="WordSection1" style="page: WordSection1;
                font-family: Helvetica; font-size: 12px; font-style:
                normal; font-variant: normal; font-weight: normal;
                letter-spacing: normal; orphans: auto; text-align:
                start; text-indent: 0px; text-transform: none;
                white-space: normal; widows: auto; word-spacing: 0px;
                -webkit-text-stroke-width: 0px;">
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">Hi,<o:p
                    class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class=""><o:p
                    class=""> </o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">We at
                  Mistral want to move from the default transaction
                  isolation level of REPEATABLE READ to READ COMMITTED
                  as part of a bugfix[1].<o:p class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class=""><o:p
                    class=""> </o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">I did not
                  find a way to pass the isolation level to sqlachemy
                  using oslo.db and the current solution is to use
                  monkey-patching[2] that adds the “isolation_level”
                  property.<o:p class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class=""><o:p
                    class=""> </o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">Is there
                  currently a better way to set the default isolation
                  level?<o:p class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">If not – I
                  will create a BP for it.<o:p class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class=""><o:p
                    class=""> </o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">Thanks.<o:p
                    class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class=""><o:p
                    class=""> </o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">[1]<span
                    class="Apple-converted-space"> </span><a
                    moz-do-not-send="true"
                    href="https://review.openstack.org/#/c/253819"
                    style="color: purple; text-decoration: underline;"
                    class=""><a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/253819">https://review.openstack.org/#/c/253819</a></a><o:p
                    class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class="">[2]<span
                    class="Apple-converted-space"> </span><a
                    moz-do-not-send="true"
href="https://review.openstack.org/#/c/253819/11/mistral/db/sqlalchemy/base.py"
                    style="color: purple; text-decoration: underline;"
                    class=""><a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/253819/11/mistral/db/sqlalchemy/base.py">https://review.openstack.org/#/c/253819/11/mistral/db/sqlalchemy/base.py</a></a><o:p
                    class=""></o:p></div>
                <div style="margin: 0in 0in 0.0001pt; font-size: 11pt;
                  font-family: Calibri, sans-serif;" class=""><o:p
                    class=""> </o:p></div>
              </div>
              <span style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px; float: none;
                display: inline !important;" class="">__________________________________________________________________________</span><br
                style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px;" class="">
              <span style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px; float: none;
                display: inline !important;" class="">OpenStack
                Development Mailing List (not for usage questions)</span><br
                style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px;" class="">
              <span style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px; float: none;
                display: inline !important;" class="">Unsubscribe:<span
                  class="Apple-converted-space"> </span></span><a
                moz-do-not-send="true"
                href="mailto:OpenStack-dev-request@lists.openstack.org"
                style="color: purple; text-decoration: underline;
                font-family: Helvetica; font-size: 12px; font-style:
                normal; font-variant: normal; font-weight: normal;
                letter-spacing: normal; orphans: auto; text-align:
                start; text-indent: 0px; text-transform: none;
                white-space: normal; widows: auto; word-spacing: 0px;
                -webkit-text-stroke-width: 0px;" class=""><a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a></a><span
                style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px; float: none;
                display: inline !important;" class="">?subject:unsubscribe</span><br
                style="font-family: Helvetica; font-size: 12px;
                font-style: normal; font-variant: normal; font-weight:
                normal; letter-spacing: normal; orphans: auto;
                text-align: start; text-indent: 0px; text-transform:
                none; white-space: normal; widows: auto; word-spacing:
                0px; -webkit-text-stroke-width: 0px;" class="">
              <a moz-do-not-send="true"
                href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
                style="color: purple; text-decoration: underline;
                font-family: Helvetica; font-size: 12px; font-style:
                normal; font-variant: normal; font-weight: normal;
                letter-spacing: normal; orphans: auto; text-align:
                start; text-indent: 0px; text-transform: none;
                white-space: normal; widows: auto; word-spacing: 0px;
                -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div>
          </blockquote>
        </div>
        <br class="">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
gord</pre>
  </body>
</html>