Actions
Bug #1961
closedNccStrategy remembers suboptimal upstream
Start date:
09/02/2014
Due date:
% Done:
100%
Estimated time:
2.00 h
Description
Environment:
A---B
| |
C---D
- consumer on A, producer on D
- A-B-D link RTT is 10ms
- A-C-D link RTT is 15ms
Steps to reproduce:
- send Interests from A to D
- observe the behavior of NCC strategy
Expected: A-B-D remains the preferred path; A-C-D may be explored but doesn't become the preferred path
Actual: A-C-D becomes the preferred path after it's explored and Data comes back
This bug is caused by:
In ccnd,
- When first Data comes back that satisfies the PIT entry, the incoming face of that Data is remembered.
- The PIT entry is deleted as soon as it's satisfied.
- When second Data comes back, it's discarded as unsolicited.
In NFD,
- When first Data comes back that satisfies the PIT entry, the incoming face of that Data is remembered.
- The PIT entry is kept, and will be deleted after straggler timer.
- When second Data comes back, the strategy is notified, and remembers the incoming face.
NCC strategy incorrectly assumes the incoming Data is from the fastest upstream, causing the bug.
Actions