Skip to content

Roll back ULog writer registrations on callback failure - #9

Open
xia-chao wants to merge 1 commit into
mainfrom
fix/ulog-writer-record-commit
Open

xia-chao wants to merge 1 commit into
mainfrom
fix/ulog-writer-record-commit

Conversation

@xia-chao

Copy link
Copy Markdown
Contributor

Changes

  • Roll back the format or subscription registration when the output callback rejects a record.
  • Keep the format retryable and leave the rejected subscription ID available for the next attempt.
  • Document the output callback's responsibility when it accepts part of a record before throwing.

Verification

  • Linux server CTest passed 4/4. Both focused regressions passed all 19 assertions.
  • A normal round trip verified the retried format, subscription ID, and ordered sample values.

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