Project

General

Profile

Actions

Task #1573

open

WriteHandle doesn't stop expressing Interests when FinalBlockId is present in the last Data packet

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

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/01/2014
Due date:
% Done:

0%

Estimated time:

Description

Here is the log I got from ndnputfile (http://gerrit.named-data.net/#/c/775/):

[cawka@cawka-mac repo-ng (master)]$ ./build/tools/ndnputfile /localhost/repo /NFD/README-dev.md README-dev.md
setInterestFilter for /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%00?ndn.Nonce=3460793378
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%01?ndn.Nonce=1572412587
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%02?ndn.Nonce=3189667171
Requested segment [2] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%03?ndn.Nonce=2331914834
Requested segment [3] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%04?ndn.Nonce=2460964621
Requested segment [4] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%05?ndn.Nonce=427216559
Requested segment [5] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%06?ndn.Nonce=2098586299
Requested segment [6] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%07?ndn.Nonce=3376735973
Requested segment [7] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%08?ndn.Nonce=4063655425
Requested segment [8] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%09?ndn.Nonce=482532874
Requested segment [9] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0A?ndn.Nonce=2055409490
Requested segment [10] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0B?ndn.Nonce=1642508116
Requested segment [11] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0D?ndn.Nonce=2254896364
Requested segment [13] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%02?ndn.Nonce=1793085795
Requested segment [2] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%03?ndn.Nonce=4098926757
Requested segment [3] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%04?ndn.Nonce=3229238080
Requested segment [4] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%05?ndn.Nonce=3875341243
Requested segment [5] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%06?ndn.Nonce=3197616363
Requested segment [6] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%07?ndn.Nonce=1278057570
Requested segment [7] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%08?ndn.Nonce=2522329160
Requested segment [8] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%09?ndn.Nonce=1932600142
Requested segment [9] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0A?ndn.Nonce=3890659195
Requested segment [10] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0B?ndn.Nonce=2702128292
Requested segment [11] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0D?ndn.Nonce=114310023
Requested segment [13] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%02?ndn.Nonce=1935658537
Requested segment [2] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%03?ndn.Nonce=2538698012
Requested segment [3] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%04?ndn.Nonce=1050918075
Requested segment [4] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%05?ndn.Nonce=4011620874
Requested segment [5] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%06?ndn.Nonce=341575554
Requested segment [6] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%07?ndn.Nonce=2456501125
Requested segment [7] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%08?ndn.Nonce=2206296076
Requested segment [8] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%09?ndn.Nonce=1747402280
Requested segment [9] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0A?ndn.Nonce=1978420714
Requested segment [10] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0B?ndn.Nonce=1718601187
Requested segment [11] does not exist
<< /NFD/README-dev.md/%00%00%01E%BB%91%BD%BF/%0D?ndn.Nonce=399330283
Requested segment [13] does not exist
ERROR: insertion check command invalidated: RepoCommandResponse( StatusCode: 404 )

FinalBlockID is present in segment 2 and ndngetfile can properly handle this.

Actions #1

Updated by Junxiao Shi over 10 years ago

There is a grammar error in the title, that I cannot understand what the problem is.

Actions #2

Updated by Alex Afanasyev over 10 years ago

  • Subject changed from WriteHandle doesn't when FinalBlockId is present in the last Data packet to WriteHandle doesn't stop expressing Interests when FinalBlockId is present in the last Data packet
Actions #3

Updated by Alex Afanasyev over 10 years ago

Corrected the title.

The idea was that I wanted to publish 3 segmented Data packets. Last one specifies FinalBlockId, but WriteHandle keeps going and doesn't stop issuing interests for non-existing Data packets.

Actions #4

Updated by Shuo Chen over 10 years ago

Shall I fix this in a new commit or in the original ndnputfile commit. There is one commit after the original commit concerning other bugs of ndnputfile.

Alex Afanasyev wrote:

Corrected the title.

The idea was that I wanted to publish 3 segmented Data packets. Last one specifies FinalBlockId, but WriteHandle keeps going and doesn't stop issuing interests for non-existing Data packets.

Actions

Also available in: Atom PDF