<div>Hi Peter</div><div><br></div><div>Yes, this is normal. A successful response from rib/register command only means the request is accepted. It doesn't mean all updates are completed. See <a href="https://redmine.named-data.net/issues/2468#note-1">https://redmine.named-data.net/issues/2468#note-1</a> for more information.</div><div>Downstream should retransmit its Interests until it reaches upstream. A sign of prefix registration not yet completed is receiving a Nack-NoRoute in reply to the Interest.</div><div><br></div><div>Yours, Junxiao</div><div><br><div class="gmail_quote"><div>On Thu, Apr 13, 2017 at 15:42 Gusev, Peter <<a href="mailto:peter@remap.ucla.edu">peter@remap.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div style="word-wrap:break-word"><br>
<div>I noticed that sometimes, one of my unit-tests fails where consumer can’t retrieve simple 1-segment object from the producer - it gets NACK.</div>
<div>I dug into NFD logs and, apparently, what is happening - is that interest is sent before prefix registration is completed. I just want to confirm this assumption.</div><div>
</div>
<div><br>
</div>
<div>My unit-test code for consumer waits till producer successfully registers prefix (receives callback) and only then sends out interest to the data. Apparently, sometimes successful registration callback is called earlier then prefix registration
 completes inside the NFD. Is that normal? Or shall I consult with JeffT about this, since I’m using NDN-CPP?</div>
<div><div><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div></div></div></div></div></div></div></div></div></blockquote></div></div>