Project

General

Profile

Actions

Task #1234

closed

Task #1308: Strategy choice and dispatch

Runtime strategy change

Added by Junxiao Shi almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tables
Target version:
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:

  1. if the new strategy equals the old effective strategy, abort these steps
  2. 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
  3. set new strategy on the StrategyChoice entry

Note: Every strategy MUST be prepared to see an entity without its StrategyInfo.


Related issues 3 (0 open3 closed)

Related to NFD - Task #1180: StrategyInfo getter/setterClosedJunxiao Shi

Actions
Blocked by NFD - Task #1309: Strategy Choice tableClosedJunxiao Shi03/01/2014

Actions
Blocked by NFD - Task #1318: NameTree enumerationClosedHaowei Yuan

Actions
Actions

Also available in: Atom PDF