| Summary: | Intermittent OptimisticLockException on set project validation options | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Damian Jansen <djansen> | ||||
| Component: | Component-Persistence | Assignee: | Sean Flanigan <sflaniga> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Zanata-QA Mailling List <zanata-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.0 | CC: | sflaniga, zanata-bugs | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| 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:14:27 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: | |||||
| Attachments: |
|
||||||
Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde) - no longer an issue I suspect this may have been caused by the accidental use of MyISAM for some tables. On second thought, I have been seeing StaleObjectStateException in functional tests, which are probably not using MyISAM (MySQL 5.5.34 should default to InnoDB). I think MyISAM problems must manifest differently. org.zanata.feature.concurrentedit.ConcurrentAccessTest sometimes triggers these exceptions, especially if you run a few copies at once. It's looking very much like a thread safety problem. I'll see what I can do, at least for ConcurrentAccessTest. Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-373 |
Created attachment 810206 [details] Test run log file Description of problem: Sometimes selecting a validation option and pressing Update causes an exception. Version-Release number of selected component (if applicable): 3.x How reproducible: Intermittent Steps to Reproduce: 1. Sign in as admin 2. Go to project->version 3. Click Edit Version 4. Change a validation option 5. Press Update Actual results: In a small number of cases, StaleObjectStateException/OptimisticLockException occurs Expected results: No exception! Additional info: Attached log file