FullSync: add support for piggybacking app data
Provides a new function to the application to publish a corresponding data for a given /user/seq. This means instead of the Sync Data containing just the updated /user/seq, it would contain /user/seq + App Data with name /user/seq or any arbitrary data the app may want to put there with this /user/seq. This saves the application from sending another interest with that name and getting the data separately. This change will modify the existing State encoding to include an optional ndn::Block of data.
Current State encoding:
State = tlv::PSyncContent TLV-LENGTH *Name
Proposed State encoding:
State = tlv::PSyncContent TLV-LENGTH *(Name [tlv::PSyncDataBlock])
Updated by Ashlesh Gawande 7 months ago
- Description updated (diff)
- Status changed from New to Code review
- Target version set to v0.3.0
- Start date deleted (
- % Done changed from 0 to 80
The change on gerrit needs a rebase and a test case in test-full-sync.cpp to test the new function.
Preferably we also need an NLSR change to see if this works as expected and save some RTTs for NLSR.