Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035384 | Openbravo ERP | 07. Sales management | public | 2017-02-28 16:52 | 2017-09-21 16:49 |
|
Reporter | egoitz | |
Assigned To | markmm82 | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q4 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0032458 | 3.0PR16Q2 | closed | markmm82 | It is necessary to add log information in process executed when Validating Costing Rule | related to | feature request | 0024008 | | new | dmiguelez | It would be fine to have any kind of information about the evolution of the Costing Migration Process | related to | defect | 0036675 | | closed | markmm82 | [Costing Migration Process]: Transactions related with closing inventory lines do not have an entry in Transaction Cost tab |
|
Attached Files | |
|
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 | |
Notes |
|
|
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
|
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
|
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
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|