[keycloak-user] LDAP Federation - synchronization on cluster error

Marek Posolda mposolda at redhat.com
Thu Jan 28 15:29:04 EST 2016


Can you please create JIRA for this? Also please attach whole exception 
stacktrace if possible.

Maybe it will help if you use smaller "Batch size", but not sure...

Marek

On 28/01/16 21:20, Łukasz Skierkowski wrote:
> Hello,
>
> Has anyone have a problem with synchronization on JBoss cluster?
>
> Recently I've noticed that some synchronization ends with error:
>
> /javax.persistence.OptimisticLockException: Batch update returned 
> unexpected row count from update [0]; actual row count: 0; expected: 1 /
>
> If synchronization is started manually there is no problem with the 
> feature.
>
> I think that it can be a problem with scheduled job synchronization on 
> cluster. BasicTimerProvider uses simple, not synchronized java timers 
> and it can cause race condition on database.
>
> Lukasz Skierkowski
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160128/fa486acc/attachment.html 


More information about the keycloak-user mailing list