Project

General

Profile

Actions

Bug #1770

closed

Nonce list in PIT entry "infinitely" grows for long-lived Interests

Added by Alex Afanasyev over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Forwarding
Target version:
Start date:
07/17/2014
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

In cases of "Long-lived" interests (interests that are being constantly refreshed, such as ChronoSync status update and some other NLSR updates) set of nonces is never reduces.

Whenever an interest is received, we record its nonce in PIT entry first and only then decide what to do. If PIT entry expires nonce list suppose to go away, but this is not the case with long-lived Interests, where an application will refresh PIT entry almost immediately.

This causing nonce list to include basically all possible nonce combinations for some PIT entries.

Just a small extract from the modified log to confirm the issue:

1405621927.020631 DEBUG: [Forwarder] onIncomingInterest face=18 interest=/ndn/NLSR/sync/5575d5392185c8d5a3f261a2f2a516dfc529f14824471e6ea67e08854a23d599
1405621927.023368 DEBUG: [PitEntry] addNonce 1075754550 (total 179 entries)

My conclusion is that in these cases, Nonce list instead of being used to prevent/detect duplicates, actually harm communication. May be there should be a timer attached to each nonce value so it is not kept "forever", or at least not for the lifetime of the PIT entry. But I'm not sure what could be, at least for the short-term, solution for this problem.


Related issues 1 (0 open1 closed)

Related to NFD - Task #1782: Redesign loop detection in PIT entryClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF