Bug 777553 (SOA-56) - jBPM Concurrent JobExecutors can process the same job in parallel
Summary: jBPM Concurrent JobExecutors can process the same job in parallel
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-56
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - within SOA
Version: 4.2 IR2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 IR9
Assignee: Tom Baeyens
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA-56
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-17 14:51 UTC by Len DiMaggio
Modified: 2008-01-16 11:19 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Linux 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 14:56:37 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux MySQL 5.0.22
Last Closed: 2008-01-16 11:19:38 UTC
Type: Bug


Attachments (Terms of Use)
expl.tar.gz (3.81 KB, application/x-gzip)
2007-10-17 15:56 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-56 0 None None None Never

Description Len DiMaggio 2007-10-17 14:51:39 UTC
project_key: SOA

Project issue logged in JBPM-1072

Attached is a simple test case that
1) Deploys process definition with two nodes
2) Starts 20 executor threads
2) Starts the process instance that will asynchronously execute action on the second node
4) The second node writes a record to the database

The test case needs to be executed multiple times to see the incorrect behaviour.
This is an example of run output
Isol 8
Action 1
Success 0
Failure 0
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2 1
Action 2
Action 2
Action 2 1
Action 2 1
Action 2
Action 2 1

Explanation of the outcome
9 job executors successfully executed the node action (same job) including database operation. All database operations were comitted (9 new records were created)

Test case is TestMultiJobExecutor

Comment 1 Len DiMaggio 2007-10-17 14:52:02 UTC
Link: Added: This issue depends JBPM-1072


Comment 2 Len DiMaggio 2007-10-17 15:56:39 UTC
Attachment: Added: expl.tar.gz


Comment 3 Len DiMaggio 2007-12-13 13:47:33 UTC
Current disposition for this JIRA:

* SOA-54 and SOA-55 and SOA-56- Mark these as 'resolved', reopen if made necessary - unlikely - by jBPM rework
 * JBPM-1071, JBPM-1072 - leave these open as they are jBPM issues
* SOA-195 - New JIRA to require SOA-P to document in Release Notes that when jBPM is used then it is not safe to use MySQL on Linux
* SOA-196 - The jBPM does not work with MySQL/Linux combo - mark as fix in 4.3
* JBPM-1095- Project bug for SOA-196 

Comment 4 Len DiMaggio 2007-12-13 13:49:46 UTC
See resolution in SOA-54 and 55.


Note You need to log in before you can comment on or make changes to this bug.