Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020511 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2012-05-15 15:18 | 2012-05-25 12:12 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 10639f3fc934 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020511: Unnecessary flush on CallProcess | |||||||
Description | CallProcess is used to invoke PL processes using DAL. It performs an explicit flush to ensure current DAL transaction is in DB to be processed by PL. But the connection obtained for calling the process implicitly does an extra flush. This affects performance without any benefit. | |||||||
Steps To Reproduce | Complete an invoice from UI and check 2 flushes are performed. | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0048649) alostale (viewer) 2012-05-15 15:20 |
This fix is not risky as removes a flush done immediately after another one. |
(0048650) hgbot (developer) 2012-05-15 15:22 |
Repository: erp/devel/pi Changeset: 10639f3fc93441a19189faffba04504ffcb84ab6 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue May 15 15:22:24 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/10639f3fc93441a19189faffba04504ffcb84ab6 [^] fixed bug 20511: Unnecessary flush on CallProcess --- M src/org/openbravo/service/db/CallProcess.java --- |
(0048797) migueldejuana (viewer) 2012-05-21 12:10 |
Code reviewed and verified on pi@87340d8f38a3 |
(0049131) hudsonbot (viewer) 2012-05-25 12:12 |
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/5401e185a8b0 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-15 15:18 | alostale | New Issue | |
2012-05-15 15:18 | alostale | Assigned To | => alostale |
2012-05-15 15:18 | alostale | Modules | => Core |
2012-05-15 15:18 | alostale | OBNetwork customer | => No |
2012-05-15 15:18 | alostale | Tag Attached: Performance | |
2012-05-15 15:20 | alostale | Note Added: 0048649 | |
2012-05-15 15:22 | hgbot | Checkin | |
2012-05-15 15:22 | hgbot | Note Added: 0048650 | |
2012-05-15 15:22 | hgbot | Status | new => resolved |
2012-05-15 15:22 | hgbot | Resolution | open => fixed |
2012-05-15 15:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/10639f3fc93441a19189faffba04504ffcb84ab6 [^] |
2012-05-21 12:10 | migueldejuana | Note Added: 0048797 | |
2012-05-21 12:10 | migueldejuana | Status | resolved => closed |
2012-05-21 12:10 | migueldejuana | Fixed in Version | => pi |
2012-05-25 12:12 | hudsonbot | Checkin | |
2012-05-25 12:12 | hudsonbot | Note Added: 0049131 |
Copyright © 2000 - 2009 MantisBT Group |