Project

General

Profile

Actions

Task #1234

closed

Task #1308: Strategy choice and dispatch

Runtime strategy change

Added by Junxiao Shi about 10 years ago. Updated about 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 #1

Updated by Junxiao Shi about 10 years ago

  • Description updated (diff)
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by Junxiao Shi about 10 years ago

  • Priority changed from Low to Normal
  • Estimated time changed from 6.00 h to 4.00 h
  • Parent task set to #1308
Actions #4

Updated by Junxiao Shi about 10 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Junxiao Shi about 10 years ago

  • Start date set to 03/12/2014
  • % Done changed from 0 to 40
Actions #6

Updated by Junxiao Shi about 10 years ago

  • Description updated (diff)
  • Status changed from In Progress to Code review
Actions #7

Updated by Junxiao Shi about 10 years ago

  • % Done changed from 40 to 70
Actions #8

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to Closed
  • % Done changed from 70 to 100
Actions

Also available in: Atom PDF