Andras Piros created OOZIE-3276:
-----------------------------------
Summary: Refactor SLACalculatorMemory
Key: OOZIE-3276
URL: https://issues.apache.org/jira/browse/OOZIE-3276
Project: Oozie
Issue Type: Improvement
Components: core
Affects Versions: 5.0.0
Reporter: Andras Piros
There are times when {{SLACalculatorMemory#slaMap}}, or
{{SLACalculatorMemory#historySet}} contains stale information causing weird
{{Exception}}s like the ones handled by OOZIE-3260.
Let's refactor {{SLACalculatorMemory}}:
* to have {{slaMap}} be consistent w/ basic workflow, coordinator, or bundle
entries anytime, meaning in case these haven't been persisted yet or have
already been deleted, no SLA update should be performed
* rework also the public interfaces of {{SLACalculator}} not to have {{slaMap}}
or {{historySet}} exposed to outside world
* modify {{SLACalculatorMemory}} to have {{slaMap}} and {{historySet}} updates
in parallel
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)