tntech-ngin / ndn-hydra

ndn-hydra: A Python-coded NDN distributed repository with five focused attributes: resiliency, scalability, usability, efficiency, and security.
Apache License 2.0
2 stars 1 forks source link

Node expiration (and wakeup) is not handling file backups properly #39

Open sankalpatimilsina12 opened 3 weeks ago

sankalpatimilsina12 commented 3 weeks ago

If a node containing a file is stopped, other node(s) will fetch the file to maintain desired_copies. However, if the expired node is brought back again, it's refetching the file which it already contains. Sometimes, the node is refetching a file which was recently deleted.

The behavior is not expected. We need to look into expiration and wakeup segments.

sankalpatimilsina12 commented 2 weeks ago

I have been trying to address this issue but have not been able to find definite cause yet. The expired node is applying same svs messages everytime it is restarted.

Please let me know if we postponed this for another release, reopening for now :)