Route new PTS producers through Stream V6 - #7
Closed
robelest wants to merge 1 commit into
Closed
Conversation
Keep stable PTS facade IDs while creating native V6 streams for new data, elect one producer through an OCC claim, and mirror lifecycle, timeout, and deletion transactionally. Preserve legacy chunk rows without migration and bound both durable batching and raw response buffering so slow consumers cannot block persistence.
commit: |
Owner
Author
|
Closing this premature fork-hosted stack PR. The V6 PTS stack will remain local until it is complete and ready to be submitted natively to get-convex. |
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.
Stack
This PR lives in the fork so its base can be the fork-owned foundation branch. After upstream get-convex#62 merges, this branch can be opened against upstream
mainwith the same isolated diff.Summary
StreamIdas a stable facade while creating native V6 storage for every new stream.205without invoking the writer.appendManybatches and mirror PTS lifecycle, inactivity timeout, and deletion transactionally.coreId: they continue using the existing chunk write, status, timeout, and deletion paths with no migration.getStreamBodyfor native streams through a finite compatibility snapshot (4,096 events / 4 MiB); the next PR adds the unbounded-history-safe incremental reader.No public method signatures or HTTP request shapes change in this layer.
Validation
Real concurrent claim and delete/append races remain a release-stack integration gate because
convex-testruns transactions serially.