Project

General

Profile

Actions

Bug #1852

closed

fail to register prefix if multiple producers start together

Added by Junxiao Shi about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Category:
RIB
Target version:
Start date:
08/12/2014
Due date:
% Done:

100%

Estimated time:

Description

Steps to reproduce:

  1. nfd-start
  2. ndnpingserver /A & ndnpingserver /B & ndnpingserver /C &

Expected: three ndnpingserver instances start normally

Actual: with high probability, two instances terminate with

ERROR: Failed to register prefix in local hub's daemon
REASON: Face not found

Suggested fix: When RibManager finds the FaceId in rib/register command is non-existent, don't reject the command right away; instead, wait 1 second so that FaceTable has a chance to be up-to-date on newly created faces.

Actions #1

Updated by Junxiao Shi about 10 years ago

  • Blocked by Task #1832: Implement FaceTable class to monitor and track active faces added
Actions #2

Updated by Alex Afanasyev about 10 years ago

  • Priority changed from Normal to High

Please review http://gerrit.named-data.net/#/c/1131/1

I think the current approach is not correct and prone to errors, since valid face ID in NFD is not immediately seen by NRD. Delaying registration action is not correct. I would simply ignore invalid faces in RIB (not a big deal) and deal with invalid faces in different way (will create a separate issue for that).

Actions #3

Updated by Alex Afanasyev about 10 years ago

  • Status changed from New to Code review
  • Assignee changed from Vince Lehman to Alex Afanasyev
Actions #4

Updated by Junxiao Shi about 10 years ago

  • Target version changed from v0.3 to v0.2
  • % Done changed from 0 to 100
Actions #5

Updated by Alex Afanasyev about 10 years ago

  • Blocked by deleted (Task #1832: Implement FaceTable class to monitor and track active faces)
Actions #6

Updated by Alex Afanasyev about 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF