Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034505 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | minor | always | 2016-11-14 18:55 | 2017-05-24 12:26 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | high | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | aferraz | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034505: [clustering] review caching of isMigrated field in CostingStatus class | |||||||
Description | isMigrated field is cached whether costing is migrated in CostingStatus class. As CostingStatus is a singleton class, the value is being cached along all the life cycle of the application. Therefore, in a clustered environment that field could have a different value on each node. This behavior must be reviewed in order to check if we should we care about it on a clustered environment. | |||||||
Steps To Reproduce | In description | |||||||
Tags | clustering | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0096754) aferraz (manager) 2017-05-24 12:26 |
Whenever CostingStatus.isMigrated() method is called, we check if isMigrated flag has not been initialized and in this case we recalculate it again. Every time CostingStatus.setMigrated() method is called, a previous call to CostingStatus.isMigrated() method is done in the same thread, so we make sure isMigrated flag has been initialized. Only the thing is multiple JVM will have their own copy of isMigrated. Each JVM will initialize its own isMigrated but again once the ismigrated flag is set there is no way to change its value. There won't be chance of one JVM having isMigrated = true and other having isMigrated = false. |
Issue History | |||
Date Modified | Username | Field | Change |
2016-11-14 18:55 | caristu | New Issue | |
2016-11-14 18:55 | caristu | Assigned To | => Triage Finance |
2016-11-14 18:55 | caristu | Modules | => Core |
2016-11-14 18:55 | caristu | Triggers an Emergency Pack | => No |
2016-11-14 18:55 | 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 | causes 0034490 |
2016-11-15 09:15 | caristu | Relationship deleted | causes 0034490 |
2016-11-15 09:15 | caristu | Relationship added | blocks 0034490 |
2016-11-15 10:23 | alostale | Tag Attached: clustering | |
2017-03-23 15:02 | markmm82 | Assigned To | Triage Finance => AtulOpenbravo |
2017-05-24 12:26 | aferraz | Review Assigned To | => aferraz |
2017-05-24 12:26 | aferraz | Note Added: 0096754 | |
2017-05-24 12:26 | aferraz | Status | new => closed |
2017-05-24 12:26 | aferraz | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |