Skip to content

API for Reliable Resets #667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 1, 2025
Merged

API for Reliable Resets #667

merged 2 commits into from
Jul 1, 2025

Conversation

martinthomson
Copy link
Member

@martinthomson martinthomson commented Jun 18, 2025

This also goes through and cleans up all the mess around RESET_STREAM. It's not perfect: we are now using that term (RESET_STREAM) to refer to a RESET_STREAM_AT frame (h3) or a WT_RESET_STREAM capsule (h2).

Closes #654.


Preview | Diff

This also goes through and cleans up all the mess around RESET_STREAM.
It's not perfect: we are now using that term (RESET_STREAM) to refer to
a RESET_STREAM_AT frame (h3) or a WT_RESET_STREAM capsule (h2).

Closes w3c#654.
Copy link
Member

@jan-ivar jan-ivar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks great.

We've been calling it checkpoint() in discussions but commit() WFM!

One fix needed I think

Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
@martinthomson
Copy link
Member Author

I've added the committed offset to the abort algorithm as it should have had previously. The "Reset" operation that it invokes doesn't have a clean API, so I wasn't able to trace that any further though. Over to you.

@jan-ivar
Copy link
Member

jan-ivar commented Jul 1, 2025

Note this will likely need a rebase as #669 is cleaning this up. But this should be enough to get editors can integrate tomorrow, so I'm happy to merge that after. Thanks again!

@jan-ivar
Copy link
Member

jan-ivar commented Jul 1, 2025

Meeting:

  • JI to update algorithm to reset w/ CommittedOffset and merge

@jan-ivar
Copy link
Member

jan-ivar commented Jul 1, 2025

Already done in c69ff24, merging.

@jan-ivar jan-ivar merged commit 3e3629d into w3c:main Jul 1, 2025
2 checks passed
github-actions bot added a commit that referenced this pull request Jul 1, 2025
SHA: 3e3629d
Reason: push, by jan-ivar

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add reliable reset stream to the API
3 participants