Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020671
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2012-06-04 13:482013-04-25 22:28
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP19
StatusclosedFix in branchFixed in SCM revision5d74d039ab3e
ProjectionnoneETAnoneTarget Version3.0MP19
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020671: Allow to define "single instance" processes

DescriptionSome processes don't make sense to be executed in parallel. There should be a way to prevent it.
Steps To Reproduce-Create a process taking long to execute
-Schedule it to be executed with a period shorter than the time taken to be finished. Note that several instances of the process are launched at the same time.
Proposed SolutionAllow processes to be defined as "single instance", in case one instance of the process is currently running, do not allow to execute another one simultaneously.
TagsNo tags attached.
Attached Filespng file icon Selection_093.png [^] (32,986 bytes) 2012-12-10 11:19

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054790)
alostale (manager)
2012-12-10 11:20

Attached image on how concurrent execution attempts are shown in Process Monitor after applying the fix for this issue.
(0054919)
hgbot (developer)
2012-12-13 15:12

Repository: erp/devel/pi
Changeset: 5d74d039ab3e38ec29edd3602b9330022ecef6a6
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Dec 13 15:10:26 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5d74d039ab3e38ec29edd3602b9330022ecef6a6 [^]

fixed issue 20671: Allow to define "single instance" processes

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml
M modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_PROCESS.xml
M modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/model/tables/AD_PROCESS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src/org/openbravo/scheduling/OBScheduler.java
M src/org/openbravo/scheduling/Process.java
M src/org/openbravo/scheduling/ProcessMonitor.java
M src/org/openbravo/scheduling/Trigger_data.xsql
---
(0054938)
AugustoMauch (manager)
2012-12-14 11:11

Code reviewed and verified in pi@3db450e737fd
(0055005)
hudsonbot (developer)
2012-12-17 13:34

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c79ef1b1f830 [^]

Maturity status: Test
(0058180)
hgbot (developer)
2013-04-24 17:22

Repository: erp/devel/pi
Changeset: df632055548f4e6628d95159d4155c3b112e0512
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 24 17:21:50 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df632055548f4e6628d95159d4155c3b112e0512 [^]

related to issue 20671: don't spam log when single instance process is executed

---
M src/org/openbravo/scheduling/ProcessMonitor.java
---
(0058264)
hudsonbot (developer)
2013-04-25 22:28

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9fc67869838e [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-06-04 13:48 alostale New Issue
2012-06-04 13:48 alostale Assigned To => alostale
2012-06-04 13:48 alostale Modules => Core
2012-06-04 13:52 alostale Summary Allow to define "one instance" processes => Allow to define "single instance" processes
2012-06-04 13:52 alostale Proposed Solution updated
2012-12-10 10:02 alostale Triggers an Emergency Pack => No
2012-12-10 10:02 alostale Target Version => 3.0MP19
2012-12-10 11:19 alostale File Added: Selection_093.png
2012-12-10 11:20 alostale Note Added: 0054790
2012-12-13 15:10 alostale Review Assigned To => AugustoMauch
2012-12-13 15:12 hgbot Checkin
2012-12-13 15:12 hgbot Note Added: 0054919
2012-12-13 15:12 hgbot Status new => resolved
2012-12-13 15:12 hgbot Resolution open => fixed
2012-12-13 15:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5d74d039ab3e38ec29edd3602b9330022ecef6a6 [^]
2012-12-14 11:11 AugustoMauch Note Added: 0054938
2012-12-14 11:11 AugustoMauch Status resolved => closed
2012-12-14 11:11 AugustoMauch Fixed in Version => 3.0MP19
2012-12-17 13:34 hudsonbot Checkin
2012-12-17 13:34 hudsonbot Note Added: 0055005
2013-04-24 17:22 hgbot Checkin
2013-04-24 17:22 hgbot Note Added: 0058180
2013-04-25 22:28 hudsonbot Checkin
2013-04-25 22:28 hudsonbot Note Added: 0058264


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker