Actions
Task #1234
closedTask #1308: Strategy choice and dispatch
Runtime strategy change
Start date:
03/12/2014
Due date:
% Done:
100%
Estimated time:
4.00 h
Description
Develop a procedure to change forwarding strategy of a namespace at runtime.
Steps:
- if the new strategy equals the old effective strategy, abort these steps
- traverse the NameTree entries under the namespace. For each NameTree entry:
- if the NameTree entry is a subtree covered by another explicitly set strategy, skip this subtree
- visit PIT entries and their In/OutRecords, Measurements entry attached on the NameTree, clear the StrategyInfo on those entities
- set new strategy on the StrategyChoice entry
Note: Every strategy MUST be prepared to see an entity without its StrategyInfo.
Actions