Skip to content

Migrate AdoGrainStorage to the new grain serializer - #8081

Merged
ReubenBond merged 5 commits into
dotnet:mainfrom
benjaminpetit:serialization/ado
Nov 7, 2022
Merged

ReubenBond merged 5 commits into
dotnet:mainfrom
benjaminpetit:serialization/ado

Conversation

@benjaminpetit

@benjaminpetit benjaminpetit commented Oct 27, 2022 •

Copy link
Copy Markdown
Contributor

To simplify AdoGrainStorage and make the configuration experience similar to the other persistence provider, the serializer for AdoGrainStorage will be configured using AdoNetGrainStorageOptions.GrainStorageSerializer

Microsoft Reviewers: Open in CodeFlow

@benjaminpetit benjaminpetit added the area-persistence category for Orleans persistence issues label Oct 27, 2022
@benjaminpetit

Copy link
Copy Markdown
Contributor Author

There is some errors in some SQL scripts, but test are green... I will open another PR to fix the tests, do not merge this one yet

@benjaminpetit

Copy link
Copy Markdown
Contributor Author

Will close #8077 once merged

benjaminpetit added a commit to benjaminpetit/orleans that referenced this pull request Nov 2, 2022
benjaminpetit added a commit to benjaminpetit/orleans that referenced this pull request Nov 2, 2022
ReubenBond pushed a commit to benjaminpetit/orleans that referenced this pull request Nov 3, 2022
@ElanHasson

Copy link
Copy Markdown
Contributor

@benjaminpetit does this mean that JSON is no longer an option?

@ElanHasson

Copy link
Copy Markdown
Contributor

@benjaminpetit we should also probably flatten the SQL scripts into one per ado engine

@benjaminpetit

Copy link
Copy Markdown
Contributor Author

@benjaminpetit does this mean that JSON is no longer an option?

It's still possible, it's even the default. You can configure the serializer you want in the option.

@veikkoeeva

Copy link
Copy Markdown
Contributor

@ElanHasson We should do that that flattening. At the same go, remove the preprocessor directives in the code (haven't checked the PR). :P

@ReubenBond
ReubenBond merged commit 316ddd7 into dotnet:main Nov 7, 2022
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-persistence category for Orleans persistence issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants