<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Can you please create JIRA for this?
      Also please attach whole exception stacktrace if possible.<br>
      <br>
      Maybe it will help if you use smaller "Batch size", but not
      sure...<br>
      <br>
      Marek<br>
      <br>
      On 28/01/16 21:20, Łukasz Skierkowski wrote:<br>
    </div>
    <blockquote
cite="mid:CADT=O_yarFdHyH6ja=M4L-_wHpF+iqf_jBV78-RunwE_UyGwig@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-size:12.8px">Hello,</span>
        <div style="font-size:12.8px"><br>
        </div>
        <div><span style="font-size:12.8px">Has anyone have a problem
            with synchronization on JBoss cluster? </span><br
            clear="all">
          <div>
            <div dir="ltr">
              <p
style="font-size:12.8px;background-image:initial;background-repeat:initial">Recently
                I've noticed that some synchronization ends with error:</p>
              <p
style="font-size:12.8px;background-image:initial;background-repeat:initial"><i
style="font-family:Calibri,sans-serif;font-size:14.6667px"><span
                    lang="EN-GB">javax.persistence.OptimisticLockException:
                    Batch update returned unexpected row count from
                    update [0]; actual row count: 0; expected: 1 </span></i></p>
              <p
                style="background-image:initial;background-repeat:initial"><font
                  face="Calibri, sans-serif"><span
                    style="font-size:14.6667px">If synchronization is
                    started manually there is no problem with the
                    feature.</span></font></p>
              <p
                style="background-image:initial;background-repeat:initial"><font
                  face="Calibri, sans-serif"><span
                    style="font-size:14.6667px">I think that it can be
                    a </span></font><span
                  style="font-size:14.6667px;font-family:Calibri,sans-serif">problem
                  with scheduled job synchronization on cluster. </span><span
style="font-family:Calibri,sans-serif;font-size:14.6667px">BasicTimerProvider
                  uses simple, not synchronized java timers and it can
                  cause race condition on database.</span></p>
              <p
style="font-size:12.8px;background-image:initial;background-repeat:initial"><a
                  moz-do-not-send="true"
name="-1823778648_-1687339515_-879073422_UNIQUE_ID_SafeHtmlFilter__MailAutoSig"
                  style="color:rgb(34,34,34)"><span
                    style="font-size:8pt;font-family:Tahoma,sans-serif"><font
                      color="#000000">Lukasz Skierkowski</font></span></a></p>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>