deadlocks
by Bill Burke
I"m getting concurrent deadlocks when doing a login with multiple
threads. Its just bizarre and I don't get it. Check out this error
message. Why the hell would "delete from AuthProviders" be called
??????!?!?!?!?!!! I don't see a setAuthProviders happening anywhere.
Caused by: org.h2.jdbc.JdbcSQLException: Deadlock detected. The current
transaction was rolled back. Details: "
Session #8 (user: SA) is waiting to lock PUBLIC.USERSESSIONENTITY while
locking PUBLIC.AUTHENTICATIONLINKENTITY (exclusive), PUBLIC.USERENTITY
(exclusive), PUBLIC.AUTHPROVIDERS (exclusive).
Session #5 (user: SA) is waiting to lock PUBLIC.AUTHPROVIDERS while
locking PUBLIC.USERSESSIONENTITY (exclusive)."; SQL statement:
delete from AuthProviders where RealmEntity_id=? [40001-161]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
at org.h2.message.DbException.get(DbException.java:169)
at org.h2.message.DbException.get(DbException.java:146)
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
9 years, 6 months
Beta 2 released
by Bill Burke
We had a couple of blocker bugs centered around SSL and Wildfly. Fixes
are in, and beta 2 is released.
Check out jira release notes for more details.
Bill
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
9 years, 6 months
Fixes since beta-1??
by Bill Burke
Doing a release tomorrow morning (US - EST). Were there any fixes from
beta 1? I saw a bunch of PRs. If you know what they are, please
add/close JIRA targeted at beta-2.
Bill
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
9 years, 6 months
FYI: month behind
by Bill Burke
FYI, we're a month behind on our schedule, so I pushed all the dates out
a month or more on all the releases. 1.0.Final will be August 21. We
may release sooner depending on how the performance work goes.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
9 years, 6 months
Re: [keycloak-dev] Next step performance
by Bill Burke
No problem. See you tomorrow.
On 6/2/2014 8:54 AM, Stian Thorgersen wrote:
> I'm watching sick children today. Can we reschedule today's hangout for same time tomorrow?
>
> Bill Burke <bburke(a)redhat.com> wrote:
>
>
>
> On 5/30/2014 6:06 AM, Stian Thorgersen wrote:
>> Sent invite for Monday in Zimbra (15pm GMT). If that's not suitable let me know.
>>
>> A few more areas to look at:
>>
>> * Profile to find crappy code
>> * Tune FreeMarker and themes
>> * Sharding / sticky sessions - this is probably for later, but I'd like to discuss it in the hangout
>>
>> A few comments on database caching:
>>
>> * We may need to do this in stages
>> - 2nd level cache for beta-2?
>> - Something more advanced in after 1.0.final
>> * I'd don't like the idea of us re-inventing the wheel
>> - Caching has a lot of complex considerations (node discovery, fail-over, node recovery, invalidation, lan/wan, jta, etc.)
>
> I know and agree and have experience with this. But, these traditional
> caches just don't work well in many environments.
>
>> * I really like the idea of having a cache model provider that delegates to another model for persistence / this is definitively the way to go IMO
>> * User sessions needs to separate considerations, specifically I think we can come up with something clever to minimise the writes required
>>
>
> Yes, User sessions are a special case.
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
9 years, 6 months