Task #5089

FullSync: add support for piggybacking app data

Added by Tianxing Ma over 1 year ago. Updated 9 months ago.

Code review
Target version:
Start date:
Due date:
% Done:


Estimated time:


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 over 1 year ago

  • Description updated (diff)
  • Status changed from New to Code review
  • Target version set to v0.3.0
  • Start date deleted (03/06/2020)
  • % 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.


Updated by Ashlesh Gawande 9 months ago

  • Target version changed from v0.3.0 to v0.4.0

Also available in: Atom PDF