Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0043366 | Retail Modules | Web POS | public | 2020-02-28 10:51 | 2020-03-06 14:46 |
|
Reporter | marvintm | |
Assigned To | ranjith_qualiantech_com | |
Priority | urgent | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR20Q2 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0043366: Cache manifest doesn't guarantee file order consistency, which can lead to unnecessary sources reloading |
Description | Currently the manifest we generate is not guaranteeing the order of the files inside it. In particular, in high availability environments, it could happen that different nodes return different manifests, with the same file list, but in different order.
When this happens, the WebPOS reloads the sources even though the individual files didn't really change.
This doesn't generate any painful functional problem and offline mode continues to work as usual. However, this means that the user needs to wait a little bit more time to use the application, the server is doing more work than it would need to do if this worked correctly, and if bandwidth either in the store or the server is limited, this may lead to performance problems. |
Steps To Reproduce | -In a high availability environment, load the WebPOS and do login.
- With developer tools open, refresh the page. Notice in the Network tab in dev tools that the sources are retrieved from the cache/service workers.
- Do logout. Check the network again, and notice that the sources are now being loaded from the server instead.
It is not always reproducible, but in our tests it was happening almost always, as the load balancer relies on the cookie to maintain communication with the same node, and whenever the cookie is lost, in many cases it redirects to a different node. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0043363 | | closed | alostale | Openbravo ERP | unneded requests to StaticResources when working in cluster | related to | design defect | 0034490 | | acknowledged | Triage Platform Base | Openbravo ERP | [clustering] Support clustering |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-02-28 10:51 | marvintm | New Issue | |
2020-02-28 10:51 | marvintm | Assigned To | => Retail |
2020-02-28 10:51 | marvintm | Triggers an Emergency Pack | => No |
2020-02-28 10:52 | marvintm | Resolution time | => 1583449200 |
2020-02-28 10:53 | marvintm | Relationship added | related to 0043363 |
2020-02-28 11:13 | alostale | Relationship added | related to 0034490 |
2020-02-28 12:17 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2020-03-01 06:20 | ranjith_qualiantech_com | Status | new => scheduled |
2020-03-02 03:53 | hgbot | Checkin | |
2020-03-02 03:53 | hgbot | Note Added: 0118216 | |
2020-03-02 03:53 | hgbot | Status | scheduled => resolved |
2020-03-02 03:53 | hgbot | Resolution | open => fixed |
2020-03-02 03:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3f5a3133dca466c253aed5c1f028accacd72c44c [^] |
2020-03-03 10:02 | hgbot | Checkin | |
2020-03-03 10:02 | hgbot | Note Added: 0118283 | |
2020-03-03 10:02 | hgbot | Checkin | |
2020-03-03 10:02 | hgbot | Note Added: 0118284 | |
2020-03-03 10:03 | marvintm | Review Assigned To | => marvintm |
2020-03-03 10:03 | marvintm | Status | resolved => closed |
2020-03-03 10:03 | marvintm | Fixed in Version | => RR20Q2 |
2020-03-05 08:54 | marvintm | Note Added: 0118331 | |
2020-03-05 08:54 | marvintm | Status | closed => new |
2020-03-05 08:54 | marvintm | Resolution | fixed => open |
2020-03-05 08:54 | marvintm | Fixed in Version | RR20Q2 => |
2020-03-05 14:01 | ranjith_qualiantech_com | Status | new => scheduled |
2020-03-05 15:06 | hgbot | Checkin | |
2020-03-05 15:06 | hgbot | Note Added: 0118346 | |
2020-03-05 15:06 | hgbot | Status | scheduled => resolved |
2020-03-05 15:06 | hgbot | Resolution | open => fixed |
2020-03-05 15:06 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3f5a3133dca466c253aed5c1f028accacd72c44c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/231dd6f1a08d9c4536f2424cdef1ff0311d4c846 [^] |
2020-03-05 18:04 | marvintm | Status | resolved => closed |
2020-03-05 18:04 | marvintm | Fixed in Version | => RR20Q2 |
2020-03-06 13:40 | hgbot | Checkin | |
2020-03-06 13:40 | hgbot | Note Added: 0118379 | |
2020-03-06 13:40 | hgbot | Status | closed => resolved |
2020-03-06 13:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/231dd6f1a08d9c4536f2424cdef1ff0311d4c846 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/daf8a74e6ffd4d1e22640a9e4f69402c4c04b9fc [^] |
2020-03-06 14:46 | marvintm | Status | resolved => closed |
Notes |
|
(0118216)
|
hgbot
|
2020-03-02 03:53
|
|
|
|
(0118283)
|
hgbot
|
2020-03-03 10:02
|
|
|
|
(0118284)
|
hgbot
|
2020-03-03 10:02
|
|
|
|
|
It seems static resources section is not yet fully sorted |
|
|
(0118346)
|
hgbot
|
2020-03-05 15:06
|
|
|
|
(0118379)
|
hgbot
|
2020-03-06 13:40
|
|
|