Repository navigation
Conversation
An idle Workflow reader now costs no History each minute. A page tells its reader to continue as new when its floor keeps half the cap, and a reset run's floor covers its copied reads.
A replay reads a past-close page again with to_offset at its next offset, which is its start, and got no Record. The closed branch now goes before the to_offset check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR gives parked wake reads a namespace deadline and limits stored bytes. Last-page reads support resuming from the end of a native Stream.
This layer belongs to the frozen Jetty server prototype. The active Streams contract has no close operation and does not require a server change.
Current Streams design and project plan.
Reviewer's guide
Review this as a frozen prototype. The active Streams API uses a separate contract.
chasm/lib/stream/read.go. Check wake deadlines, page byte limits, and rejection of newest-Record reads from Workflow code.readers.goand the reset-floor tests. Replay ranges need protection even when a reset starts before the current reader position.