Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0048418 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | major | random | 2022-01-18 14:22 | 2022-01-19 08:24 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | Triage Platform Conn | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
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 | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048418: import entries can be processed twice if their key is not deterministic | |||||||||||
Description | If an ImportEntryProcessor can return different keys for the same import entry, ie. it returns a random number between 1 and 10 to distribute entries in 10 threads, and an entry is takes long to be processed since it was initially scheduled, it can be processed more than once. | |||||||||||
Steps To Reproduce | Create an import entry which key is always different and takes long to execute and schedule it ensuring there is no other entries processing at the same time (to ensure no more time is awaited between cycle executions). -> Check it gets processed 3 times. This behavior can be emulated with Import Entry Load Simulator [1] and the following config: ** Import Entry config import.batch.size 5000 import.number.of.threads 11 import.max.task.queue.size 1000 import.wait.time 600 import.processing.capacity.per.second 330 ** OBUIELS_Data1 Num of Entries 1 Period 100 Cycles 1 Delay 0 Exec Time 5000 # of Keys 1000 --- [1] https://gitlab.com/openbravo/tools/platform/org.openbravo.util.ieloadsim [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0134374) hgbot (developer) 2022-01-19 08:24 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/503 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-01-18 14:22 | alostale | New Issue | |
2022-01-18 14:22 | alostale | Assigned To | => Triage Platform Conn |
2022-01-18 14:22 | alostale | Modules | => Core |
2022-01-18 14:22 | alostale | Triggers an Emergency Pack | => No |
2022-01-19 08:24 | hgbot | Note Added: 0134374 | |
2022-01-19 13:06 | alostale | Relationship added | related to 0048427 |
2022-04-04 14:17 | rafaroda | Relationship added | related to 0047219 |
Copyright © 2000 - 2009 MantisBT Group |