Skip to content

storage: allow hosting worker state outside the storage server - #38877

Closed
antiguru wants to merge 1 commit into
MaterializeInc:mh/unified-02-guest-clientfrom
antiguru:mh/unified-03-storage-guest
Closed

antiguru wants to merge 1 commit into
MaterializeInc:mh/unified-02-guest-clientfrom
antiguru:mh/unified-03-storage-guest

Conversation

@antiguru

Copy link
Copy Markdown
Member

Split StorageState construction out of Worker::new into StorageState::new_guest, which takes the internal command channel endpoints from the caller: the native storage worker wires them to its sequencer dataflow, a foreign host wires them to its own sequencing channel. Split the target-state application out of Worker::reconcile into the public reconcile_commands, and expose the response-reporting methods a host loop needs. No behavior change for the storage server.

Stacked on #38876. Review the last commit; the diff is cumulative until the predecessors merge. Design: #38875.

🤖 Generated with Claude Code

Split StorageState construction out of Worker::new into
StorageState::new_guest, which takes the internal command channel endpoints
from the caller: the native storage worker wires them to its sequencer
dataflow, a foreign host wires them to its own sequencing channel. Split
the target-state application out of Worker::reconcile into the public
reconcile_commands, and expose the response-reporting methods a host loop
needs. No behavior change for the storage server.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@antiguru

Copy link
Copy Markdown
Member Author

Superseded by #38883 in native stack #38887. Posted by Claude Code.

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