Skip to content

[3.x] support streaming serialization in JSON for migrations Azure Storage Queue - #9599

Closed
DeagleGross wants to merge 8 commits into
3.xfrom
dmkorolev/3.x-stream-json
Closed

DeagleGross wants to merge 8 commits into
3.xfrom
dmkorolev/3.x-stream-json

Conversation

@DeagleGross

@DeagleGross DeagleGross commented Jul 8, 2025 •

Copy link
Copy Markdown
Member

In order to streaming migrations in Orleans Migration Tooling, we decided to allow serialization in JSON format. The migration process will be the following:

  1. upgrade all nodes to new version with migration tooling
  2. start writing messages in JSON. if it is written in base64 format, code knows how to fallback in case of exceptions on reading
  3. migrate to Orleans7.x+ which will also know how to read in JSON
  4. continue working on latest Orleans

PR proposes a new package which makes an in-place registration for migration stream, and has 2 tests of how write\read message will happen in JSON format; and writing in old format and reading would still work

@DeagleGross DeagleGross self-assigned this Jul 8, 2025
@DeagleGross DeagleGross changed the title [3.x] support streaming serialization in JSON for migrations [3.x] support streaming serialization in JSON for migrations Azure Storage Queue Aug 8, 2025
@benjaminpetit

Copy link
Copy Markdown
Contributor

LGTM, but for tests we need to make them more robust and wait less. Otherwise the next step would be to do it for eventhub now

@ReubenBond

Copy link
Copy Markdown
Member

CI/mergeability review: this branch currently conflicts with its 3.x base branch, and maintainer edits are disabled. Repository policy prevents me from pushing directly to the dotnet/orleans feature branch. Please rebase dmkorolev/3.x-stream-json onto the current 3.x branch and resolve the conflicts so CI can run on the updated head.

@ReubenBond ReubenBond closed this Aug 18, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 6, 2026
@ReubenBond
ReubenBond deleted the dmkorolev/3.x-stream-json branch October 23, 2026 17:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants