named-data / ndn-svs

State Vector Sync library for distributed realtime applications for NDN
GNU Lesser General Public License v2.1
12 stars 10 forks source link

Failed to register sync prefix #30

Open tanim-ics opened 8 months ago

tanim-ics commented 8 months ago

I am developing a trial wordcount application using ndn-svs.

I have 4 applications: text2lines, lines2words1, lines2words2 and wordcount. These applications are running on the same machine as NFD. All of them are part of the same sync group prefix named "/wordcount" and as node prefixes, they use individual prefixes similar to the application name mentioned above.

The issue is when I try to execute lines2words1 and lines2words2, it throws the following error:

libc++abi: terminating due to uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::svs::SVSyncCore::Error>>: Failed to register sync prefix
Abort trap: 6

It only works after trying multiple times. Do you have any guidance for me on why this problem happens? I don't see any sensible output on the NFD log. NFD is functioning properly.