<div dir="ltr">Hi Ahmed,<div><br></div><div>Yes, you are right. sendData should be used instead of sendDataToAll.</div><div><br></div><div>We found the exact same bug and the solution as you described, but forgot to update it on Github. Thank you for your feedback!</div><div><br></div><div>Best regards,</div><div>Teng</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 6, 2022 at 12:23 AM Ahmed Taffal via Ndn-interest <<a href="mailto:ndn-interest@lists.cs.ucla.edu" target="_blank">ndn-interest@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr">Hi everyone,<div><br></div><div>I am using NFD-out-of-the-box and its self-learning strategy. I found when I send a discovery interest to another node, and that node has the content (without PA) in its CS, the function asyncProcessData(pitEntry, ingress.face, data) will be called. </div><div>This function will call sendDataToAll(pitEntry, *inFace, data) to get the list of pit entry in-records. As it is known, when the pit entry has a CS hit, it will not have any value in the in-record table and so the sendDataToAll function will not send the data to the downstream. </div><div>I tried to retrieve content from the Producer's CS using ndncatchunks and I am not getting any content chunk.</div><div>However, in the asynProcessData function, I replaced the sendDataToAll with sendData and the data from the CS was retrieved successfully.</div><div>Is it true that the sendData function is the correct one to use after CS hit and not the sendDataToAll?</div><div><br></div><div>Best Regards,</div><div>Ahmed.</div></div>
_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
</blockquote></div>