Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035384 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] 07. Sales management | major | always | 2017-02-28 16:52 | 2017-09-21 16:49 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | markmm82 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ea7a25da9285 | ||||
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 | 0035384: Add logs on debug on the costing process and costing migration process to track the time invested on each part | |||||||
Description | It is needed to have a way to identify the time required to execute each time. That is a feature to analyze performance problems and make a better diagnosis | |||||||
Steps To Reproduce | n/a | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0096480) aferraz (manager) 2017-05-09 10:34 |
We can include log in: Costing Background Process: - How many transactions have been processed: we already have this info available for debug here. - How many transactions are pending to process. - Estimated time to finish the execution based on current numbers: although it is very difficult to estimate the time in costing when working with cost adjustments, we can re-estimate it in each batch of calculated transactions and give at least an approximation. - What part of the process is being executed at the moment: although costing calculation involves many different java classes, we can add several log to heavier steps (cost adjustments), which are the ones that give more information. - Show this info in UI: we could add this log to Process Log field inside Process Request window, but I think it's better to have it in openbravo.log file due to the big size of it. Costing Migration Process: - What part of the process is being executed at the moment. |
(0097794) hgbot (developer) 2017-07-03 12:44 |
Repository: erp/devel/pi Changeset: ea7a25da92859e2d7ee9238ba66c6e6d916f00d6 Author: Mark <markmm82 <at> gmail.com> Date: Wed Jun 21 16:23:42 2017 -0400 URL: http://code.openbravo.com/erp/devel/pi/rev/ea7a25da92859e2d7ee9238ba66c6e6d916f00d6 [^] Fixes issue 35384: Add logs on costing background and costing migration process To analyze performance problems and make a better diagnosis was needed to have a way to identify the time required to execute each process. To take this feature included into the Costing Background Process and Costing Migration Process, some logs were added in the most critical parts of the code to log relevant information of the processing status like: - How many transactions have been processed. - How many transactions are pending to process. - Estimated time to finish the execution based on current numbers. - What part of the process is being executed at the moment. --- M src/org/openbravo/costing/CostAdjustmentProcess.java M src/org/openbravo/costing/CostingAlgorithm.java M src/org/openbravo/costing/CostingBackground.java M src/org/openbravo/costing/CostingMigrationProcess.java --- |
(0097795) hgbot (developer) 2017-07-03 12:45 |
Repository: erp/devel/pi Changeset: b3da3000ba8d8cbd4101950cfcaddc7600db94f8 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Fri Jun 23 11:25:32 2017 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b3da3000ba8d8cbd4101950cfcaddc7600db94f8 [^] Related to issue 35384: Code review improvements --- M src/org/openbravo/costing/CostAdjustmentProcess.java M src/org/openbravo/costing/CostingBackground.java M src/org/openbravo/costing/CostingMigrationProcess.java --- |
(0097796) aferraz (manager) 2017-07-03 13:00 |
Code review + Testing OK |
(0097801) aferraz (manager) 2017-07-03 14:22 |
Documentation: http://wiki.openbravo.com/wiki/Costing_Background_and_Costing_Migration_processes_log [^] |
(0099224) hudsonbot (developer) 2017-09-21 16:49 |
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/9750b78d3e5c [^] Maturity status: Test |
(0099225) hudsonbot (developer) 2017-09-21 16:49 |
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/9750b78d3e5c [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2017-02-28 16:52 | egoitz | New Issue | |
2017-02-28 16:52 | egoitz | Assigned To | => Triage Finance |
2017-02-28 16:52 | egoitz | Modules | => Core |
2017-02-28 16:52 | egoitz | Triggers an Emergency Pack | => No |
2017-05-08 10:03 | aferraz | Relationship added | related to 0032458 |
2017-05-09 10:34 | aferraz | Note Added: 0096480 | |
2017-05-09 12:35 | aferraz | Relationship added | related to 0024008 |
2017-06-19 18:16 | markmm82 | Assigned To | Triage Finance => markmm82 |
2017-06-19 18:16 | markmm82 | Status | new => scheduled |
2017-07-03 12:44 | hgbot | Checkin | |
2017-07-03 12:44 | hgbot | Note Added: 0097794 | |
2017-07-03 12:44 | hgbot | Status | scheduled => resolved |
2017-07-03 12:44 | hgbot | Resolution | open => fixed |
2017-07-03 12:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ea7a25da92859e2d7ee9238ba66c6e6d916f00d6 [^] |
2017-07-03 12:45 | hgbot | Checkin | |
2017-07-03 12:45 | hgbot | Note Added: 0097795 | |
2017-07-03 13:00 | aferraz | Review Assigned To | => aferraz |
2017-07-03 13:00 | aferraz | Note Added: 0097796 | |
2017-07-03 13:00 | aferraz | Status | resolved => closed |
2017-07-03 13:00 | aferraz | Fixed in Version | => 3.0PR17Q4 |
2017-07-03 14:22 | aferraz | Note Added: 0097801 | |
2017-08-24 10:52 | aferraz | Relationship added | related to 0036675 |
2017-09-21 16:49 | hudsonbot | Checkin | |
2017-09-21 16:49 | hudsonbot | Note Added: 0099224 | |
2017-09-21 16:49 | hudsonbot | Checkin | |
2017-09-21 16:49 | hudsonbot | Note Added: 0099225 |
Copyright © 2000 - 2009 MantisBT Group |