Skip to content

Conversation

@vyazelenko
Copy link
Contributor

Avoid recording the same or overlapping loss into the loss report, i.e. only record unique loss events but not the resends of the same NAKs.
NB: With this change the number of loss observations will no longer match the number of NAKs sent.

@vyazelenko vyazelenko requested review from mikeb01 and nbradac May 8, 2025 13:51
@vyazelenko vyazelenko merged commit a3806a2 into aeron-io:release/1.47.x May 9, 2025
28 of 44 checks passed
vyazelenko added a commit that referenced this pull request May 9, 2025
* [Java] Report lost bytes only once, i.e. do not overcount loss when retry interval fires.

* [Java] Assert that NAK fields are updated every time the method is called.

* [C] Only report unique bytes lost.

* [C++] Cleanup test resources.

* [C++] Fix memory leak.

* [C] Naming.
@vyazelenko vyazelenko deleted the report-unique-loss branch May 9, 2025 09:51
vyazelenko added a commit that referenced this pull request May 9, 2025
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