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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034511
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2016-11-15 09:082017-05-29 17:43
ReportercaristuView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version3.0PR17Q3
StatusclosedFix in branchFixed in SCM revisionbad50b303382
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

0034511: [clustering] CostAdjustmentProcess is locked just at JVM level

DescriptionThe doProcessCostAdjustment method of the CostAdjustmentProcess 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 ]
blocks design defect 0034490 acknowledgedTriage Platform Base [clustering] Support clustering 

-  Notes
(0096734)
hgbot (developer)
2017-05-23 19:06

Repository: erp/devel/pi
Changeset: bad50b303382e28ea916885dca5e0e060391820f
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue May 23 12:28:01 2017 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/bad50b303382e28ea916885dca5e0e060391820f [^]

Fixes issue 34511: CostAdjustmentProcess is locked just at JVM level

Removed synchronized keyword for doProcessCostAdjustment method in order
to allow concurrent execution of the process within the same JVM. It is
observed that every time this method is called to process newly created
cost adjustment object that is different.

---
M src/org/openbravo/costing/CostAdjustmentProcess.java
---
(0096735)
aferraz (manager)
2017-05-23 19:06

Code review OK
(0096980)
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:08 caristu New Issue
2016-11-15 09:08 caristu Assigned To => platform
2016-11-15 09:08 caristu Modules => Core
2016-11-15 09:08 caristu Triggers an Emergency Pack => No
2016-11-15 09:08 caristu Relationship added blocks 0034490
2016-11-15 09:11 caristu Category A. Platform => 09. Financial management
2016-11-15 09:11 caristu Assigned To platform => Triage Finance
2016-11-15 10:17 caristu Description Updated View Revisions
2016-11-15 11:12 caristu Tag Attached: clustering
2017-03-23 15:01 markmm82 Assigned To Triage Finance => AtulOpenbravo
2017-03-31 13:45 AtulOpenbravo Status new => scheduled
2017-05-23 19:06 hgbot Checkin
2017-05-23 19:06 hgbot Note Added: 0096734
2017-05-23 19:06 hgbot Status scheduled => resolved
2017-05-23 19:06 hgbot Resolution open => fixed
2017-05-23 19:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bad50b303382e28ea916885dca5e0e060391820f [^]
2017-05-23 19:06 aferraz Review Assigned To => aferraz
2017-05-23 19:06 aferraz Note Added: 0096735
2017-05-23 19:06 aferraz Status resolved => closed
2017-05-23 19:06 aferraz Fixed in Version => 3.0PR17Q3
2017-05-29 17:43 hudsonbot Checkin
2017-05-29 17:43 hudsonbot Note Added: 0096980


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker