Bug 998343

Summary: Hibernate soft lock warning on removing a user from a language team
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-LogicAssignee: Sean Flanigan <sflaniga>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: dchen, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-31 01:49:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Damian Jansen 2013-08-19 05:21:36 UTC
Description of problem:
On removing a language member the message
"A soft-locked cache entry was expired by the underlying Ehcache."
is shown in the console.

Version-Release number of selected component (if applicable):
3.0

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin
2. Click Languages
3. Choose a language with >0 members
4. Press Remove on any user

Actual results:
Warning on console.

Expected results:
No warnings.

Additional info:
15:17:03,614 WARN  [org.hibernate.cache.ehcache.internal.strategy.AbstractReadWriteEhcacheAccessStrategy] (http-/127.0.0.1:8080-1) HHH020008: Cache[org.zanata.model.HLocale.members] Key[org.zanata.model.HLocale.members#1] Lockable[(null)]
A soft-locked cache entry was expired by the underlying Ehcache. If this happens regularly you should consider increasing the cache timeouts and/or capacity limits

Comment 1 Sean Flanigan 2013-08-19 06:38:02 UTC
This might be the cause: https://hibernate.atlassian.net/browse/HHH-7250

Comment 2 Damian Jansen 2013-08-19 23:37:37 UTC
The HHH-7250 was fixed (apparently) - maybe it's no-so-fixed or there's another manifestation of the problem somewhere.

Comment 3 Ding-Yi Chen 2014-03-18 00:16:55 UTC
Bug confirmed with:
INFO  [org.hibernate.Version] (ServerService Thread Pool -- 55) HHH000412: Hibernate Core {4.2.7.SP1-redhat-3}

Comment 4 Damian Jansen 2014-07-28 05:42:50 UTC
Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde) - still an issue

Comment 5 Zanata Migrator 2015-07-31 01:49:57 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-565