Bug 778522 (SOA-994)

Summary: jBPM - Concurrent JobExecutors can process the same job in parallel
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: nwallace <nwallace>
Component: JBPM - within SOAAssignee: Mark Little <mark.little>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.2 CP02   
Target Milestone: ---   
Target Release: 4.2 CP03   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-994
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-17 06:39:54 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:

Description nwallace 2008-11-10 13:03:54 UTC
Date of First Response: 2008-11-17 12:18:44
project_key: SOA

Comment 1 nwallace 2008-11-10 13:05:40 UTC
We need to have these fixes ported to the jBPM SOA branch: 

Comment 2 nwallace 2008-11-10 13:05:40 UTC
Link: Added: This issue depends JBPM-1072


Comment 3 Julian Coleman 2008-11-17 17:18:44 UTC
The fix for this has been pulled up to the SOA branch by Tom Baeyens.


Comment 4 Dana Mison 2008-11-25 06:35:10 UTC
Release Note: Concurrent JobExecutors can now process the same job in parallel

Comment 5 Martin Vecera 2008-11-25 15:39:27 UTC
Darrin, this seems to me like something cool, that it can "now" do this in parallel, but it is a bug in fact. I'd omit the word "now". What do you think?

Comment 6 Dana Mison 2008-11-26 02:24:26 UTC
Agreed.  Can you give me some (highlevel) details on what the cause of the bug was?  Then I can say something like "X no longer prevents Concurrent JobExecutors from processing the same job in parallel"

Comment 7 Martin Vecera 2008-11-26 11:56:45 UTC
JobExecutor wasn't thread safe. Because of that different executors running in different threads were able to grab the same job from the queue for processing.

Comment 8 Dana Mison 2008-12-09 03:32:21 UTC
Took me a while to get back to this one: to clarify the "processing in parallel" /was/ the bug and it no longer does this.

Release Note:
JobExecutor is now thread safe.  Different executors running in different threads will not long try to process the same job from the queue.

Comment 9 Jiri Pechanec 2008-12-17 06:39:54 UTC
Verified in CR5