Skip to content

add repair-aware receiver sync policy - #114

Open
sleepybishop wants to merge 1 commit into
USNavalResearchLaboratory:masterfrom
sleepybishop:sync-repair
Open

sleepybishop wants to merge 1 commit into
USNavalResearchLaboratory:masterfrom
sleepybishop:sync-repair

Conversation

@sleepybishop

@sleepybishop sleepybishop commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Hello,

Following up on the conversation in #113, this PR introduces a new synchronization policy, NORM_SYNC_REPAIR. As discussed, this policy acts similarly to SYNC_CURRENT but is more permissive, allowing a receiver to sync on parity/repair packets rather than exclusively on packets with user data content.

  • Added SYNC_REPAIR policy to NormSenderNode::SyncPolicy.
  • Updated synchronization logic in normNode.cpp and normObject.cpp to properly track and allow syncing on repair messages.
  • Added NORM_SYNC_REPAIR to the language bindings (C#, Java, Python, Rust).
  • Expanded test coverage in tests/normRepairFlagTest.cpp to validate the new SYNC_REPAIR policy.

I'd be happy to adjust the approach or just consolidate this logic into SYNC_CURRENT if you think that's preferable for NORM.

@sleepybishop
sleepybishop marked this pull request as ready for review August 29, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant