Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040502 | Retail Modules | StoreServer | public | 2019-04-01 14:44 | 2019-04-01 19:46 |
|
Reporter | aaroncalero | |
Assigned To | AugustoMauch | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040502: TransitionToOnline thread can leave open connections if the ReadOnly connection pool is used in a MobileServerTransitionToOnline |
Description | Using the DalConnectionProvider.getReadOnlyConnectionProvider() connection pool from a MobileServerTransitionToOnline can leave open connections after the TransitionToOnline has finished transitioning |
Steps To Reproduce | In a configured multiserver environment:
Apply the attached patch in Mobile Core.
Change the status of a server (i.e. the Centra Server) to offline and execute the Server State Background background process to force the transition to online.
Once the process has finished and the server is online again, verify that there is still an open connection in the database, with the query shown in the patch. |
Proposed Solution | When the TransitionToOnline[1] thread finishes, it should close all open connections , just like it is done in the DalThreadHandler |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | OpenTransaction_TransitionToOnline.diff (960) 2019-04-01 14:44 https://issues.openbravo.com/file_download.php?file_id=12816&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2019-04-01 14:44 | aaroncalero | New Issue | |
2019-04-01 14:44 | aaroncalero | Assigned To | => StoreServer |
2019-04-01 14:44 | aaroncalero | File Added: OpenTransaction_TransitionToOnline.diff | |
2019-04-01 14:44 | aaroncalero | Resolution time | => 1555279200 |
2019-04-01 14:44 | aaroncalero | Triggers an Emergency Pack | => No |
2019-04-01 18:24 | hgbot | Checkin | |
2019-04-01 18:24 | hgbot | Note Added: 0110950 | |
2019-04-01 18:24 | hgbot | Status | new => resolved |
2019-04-01 18:24 | hgbot | Resolution | open => fixed |
2019-04-01 18:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f1540d2d6ab6611d1cfbff173c62338afa15ef3 [^] |
2019-04-01 18:25 | AugustoMauch | Assigned To | StoreServer => AugustoMauch |
2019-04-01 18:25 | AugustoMauch | Review Assigned To | => mtaal |
2019-04-01 19:46 | mtaal | Note Added: 0110952 | |
2019-04-01 19:46 | mtaal | Status | resolved => closed |