-
Notifications
You must be signed in to change notification settings - Fork 178
Integrate PBS->FLX client migration into protocol #6355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f20cb46
First cut of flx migration protocol handling
73b47d8
Updated SyncSession realm config initialization
d446180
Updated changelog
47635b2
Updates from review
39f8e4d
Updated use of migration_store, since it can be null
4abe097
Reverted update_configuration
c4e3f5a
Can't easily use static func for clear()
fe059a6
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
6ba259a
Updated protocol handling to prevent releasing session waiters
3a62c93
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
ac00b73
updated changelog after release
072f429
Updates to fix tsan errors
3f56270
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
2af6539
Updates from review
52e7c8b
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
cb1bfce
additional updates from review
380a82a
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
f14d561
Updates from review - added read-only support for metadata schema ver…
7f9d1b3
Updated SyncSession handle_error to take a SessionErrorInfo
6348ec4
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
a0dd509
updates from review - added test for SyncMetadataSchemaVersions
b4f888a
Added a few more SyncMetadataSchemaVersions tests
f8e64c6
converted some util::Optionals to std::optional
538284e
Updated some comments
6533ab2
Removed is_initialized and util::Optional to std::optional
48a71d3
Updated error if using FLX after server rolled back
84757c4
Merge branch 'master' of github.com:realm/realm-core into mwb/migrati…
ee32db7
More updates from review
cee89f8
Removed transaction locking for updating history validator
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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
2E24
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we actually add an overload of
handle_error
that takes aSyncError
here? I believe SDKs actually use this for testing. They won't be able to mock out the migration query strong responses that way, but I think that's okay and it'll make adopting this easier for SDKs and our existing tests.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming the SyncError should be converted to a
SessionErrorInfo
and passed through the currenthandle_error()
function.