Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2022-08-05 11:392022-08-19 14:49
ReportergorkaionView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0049963: When a ImportEntry is not assigned to a runnable it should not be included in hte entryCount

DescriptionThe ImportEntryProcessor.assignEntryToThread method might not assign the entry to a thread if there is a runnable of the previous search cycle still running.

When this happen the ImportEntryManager is still counting it in the entryCount counter that manages the wait time between cycles. This can generate extra wait time between cycles.
Steps To ReproduceCreate a big volume of slow import entries to force the system to execute a new search cycle when the previous runnables are still executing.

Notice that the import entries are not assigned to any threads but the calculated wait time to next search is considering all of them.
Proposed SolutionChange ImportEntryProcessor's handleImportEntry and assignEntryToThread methods to return a boolean.

assignEntryToThread return false when the ImportEntry is not assigned to a thread.

handleImportEntry returns false when the canHandleImportEntry or assignEntryToThread return false.

Change ImportEntryManager to update counter when the assignEntryToThread returns true.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0048427 closedalostale high load of low priority import entries can cause higher priority entries not to be processed 

-  Notes
hgbot (developer)
2022-08-12 08:02

Merge Request created: [^]

- Issue History
Date Modified Username Field Change
2022-08-05 11:39 gorkaion New Issue
2022-08-05 11:39 gorkaion Assigned To => Triage Platform Base
2022-08-05 11:39 gorkaion Modules => Core
2022-08-05 11:39 gorkaion Triggers an Emergency Pack => No
2022-08-12 07:57 alostale Status new => acknowledged
2022-08-12 08:02 hgbot Note Added: 0140080
2022-08-12 10:36 alostale Relationship added related to 0048427
2022-08-19 14:49 ivancaceres Issue Monitored: ivancaceres

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker