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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034512
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2016-11-15 09:132017-05-29 17:43
ReportercaristuView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version3.0PR17Q3
StatusclosedFix in branchFixed in SCM revision6bf3013c651b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034512: [clustering] Close year process is locked just at JVM level

DescriptionThe processYearClose method of the EndYearCloseUtility is a synchronized method. This means that the process has been designed to prevent its execution by different threads in parallel.

In a clustered environment the previous assumption is not guaranteed, as the synchronized method is preventing concurrent executions within the same JVM.

Therefore it could be possible to execute this process in parallel by different threads which belong to different nodes of a clustered environment.
Steps To ReproduceIn description
Tagsclustering
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0034507 closedcollazoandy4 Unneeded lock in processButtonReg and processButtonClose methods of EndYearCloseUtility 
blocks design defect 0034490 acknowledgedTriage Platform Base [clustering] Support clustering 

-  Notes
(0096744)
hgbot (developer)
2017-05-24 10:11

Repository: erp/devel/pi
Changeset: 6bf3013c651bc50a81cf929eaff043acc587d49d
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue May 23 22:35:39 2017 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6bf3013c651bc50a81cf929eaff043acc587d49d [^]

Fixes issue 34512: Close year process is locked just at JVM level

Removed synchronized keyword in processYearClose, processButtonReg and
processButtonClose methods to allow execution of process in parallel by
different threads in same JVM.

---
M src/org/openbravo/erpCommon/businessUtility/EndYearCloseUtility.java
---
(0096746)
aferraz (manager)
2017-05-24 10:13

Code review OK
(0096981)
hudsonbot (developer)
2017-05-29 17:43

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/1ee70113bdc4 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-11-15 09:13 caristu New Issue
2016-11-15 09:13 caristu Assigned To => Triage Finance
2016-11-15 09:13 caristu Modules => Core
2016-11-15 09:13 caristu Triggers an Emergency Pack => No
2016-11-15 09:13 caristu Relationship added related to 0034490
2016-11-15 09:14 caristu Relationship deleted related to 0034490
2016-11-15 09:14 caristu Relationship added blocks 0034490
2016-11-15 10:17 caristu Description Updated View Revisions
2016-11-15 11:12 caristu Tag Attached: clustering
2017-03-23 15:02 markmm82 Assigned To Triage Finance => AtulOpenbravo
2017-05-12 07:46 AtulOpenbravo Status new => scheduled
2017-05-24 10:11 hgbot Checkin
2017-05-24 10:11 hgbot Note Added: 0096744
2017-05-24 10:11 hgbot Status scheduled => resolved
2017-05-24 10:11 hgbot Resolution open => fixed
2017-05-24 10:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6bf3013c651bc50a81cf929eaff043acc587d49d [^]
2017-05-24 10:13 aferraz Review Assigned To => aferraz
2017-05-24 10:13 aferraz Note Added: 0096746
2017-05-24 10:13 aferraz Status resolved => closed
2017-05-24 10:13 aferraz Fixed in Version => 3.0PR17Q3
2017-05-29 17:43 hudsonbot Checkin
2017-05-29 17:43 hudsonbot Note Added: 0096981
2017-12-27 09:44 vmromanos Relationship added has duplicate 0034507


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker