Bug 968125

Summary: Performance problem in FileSystemStore.openAndLock
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: James Livingston <jlivings>
Component: Transaction ManagerAssignee: tom.jenkinson
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bmaxwell, cdewolf, joallen, mmusgrov, ochaloup
Target Milestone: ER4   
Target Release: EAP 6.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The transaction file system store would attempt to re-create the directory hierarchy whenever the file did not exist, regardless of whether the directories did. Consequence: Performance could be degraded if the files did not exist but the directory structure did, which is often the case. Fix: The creation of the store's directory structure is only attempted if the parent directory does not exist. Result: Performance is improved.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-16 20:25:35 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 James Livingston 2013-05-29 03:09:28 UTC
The transaction manager may perform expensive work which has no effect when the log file does not exist but the hierarchy does.

The fix is at https://source.jboss.org/changelog/Narayana?cs=327461a3a8dae50e6621c0a560807bd482d26c3d and should be able to be easily backported

Comment 1 Carlo de Wolf 2013-06-07 07:54:07 UTC
Do not set to MODIFIED. It means the fix has made it onto the 6.1.x branch.
Needs a PR to move to POST.

Comment 2 tom.jenkinson 2013-07-18 20:51:48 UTC
PR over here: https://github.com/jbossas/jboss-eap/pull/245

Comment 3 Paul Gier 2013-08-27 14:25:12 UTC
JBossTS/Narayana updated to 4.17.7 in 6.1.1 ER4

Comment 4 Ondrej Chaloupka 2013-08-29 09:26:02 UTC
Verified existence of the patch under 6.1.1.ER7