Project

General

Profile

Actions

Bug #1404

closed

ContentStore not caching data

Added by Yi Huang almost 11 years ago. Updated almost 11 years ago.

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

100%

Estimated time:

Description

NFD commit bbe3f0ccf3561db7e7c6f2874a592db3efb76896

ndn-cpp-dev commit 37e317f78931f5a1f01e2e82bf1d2ae13b6a2f74

ndn-traffic-generator commit fda32a3f278d81fb5c6920b91d655fbffcdd52e2

Steps to reproduce:

  1. Change .ndn/client.conf to use "protocol=nfd-0.1"
  2. Start NFD (sudo env NFD_LOG=all nfd)
  3. Start ndn-traffic-server using the attached server config
  4. Start ndn-traffic using the attached client config
  5. Kill the client then server after the client send enough amount of interests (I killed client when it sent 20 interests).

Expected result:

In server log, the number of interests received should be smaller than the number of interests generated by client. (The client log shows that interests are generated at a rate of 1 interest/sec. Therefore, CS should answer part of the interests since the fresh period is 2800ms)

Actual result:

In server log, the number of interests received matches the number of interests generated by client.


Files

NDNTrafficClient.conf (1.38 KB) NDNTrafficClient.conf Yi Huang, 03/25/2014 12:14 AM
NDNTrafficServer.conf (937 Bytes) NDNTrafficServer.conf Yi Huang, 03/25/2014 12:14 AM
Actions #1

Updated by Junxiao Shi almost 11 years ago

  • Category set to Forwarding
  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
  • Start date set to 03/25/2014

This is a problem with incoming Interest pipeline: isPending condition is incorrect, so that CS lookup is not performed when it should be.

Actions #2

Updated by Junxiao Shi almost 11 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 70
Actions #3

Updated by Yi Huang almost 11 years ago

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

Also available in: Atom PDF