-
Notifications
You must be signed in to change notification settings - Fork 90
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
Client reset #925
Client reset #925
Conversation
Pull Request Test Coverage Report for Build 3393227571
💛 - Coveralls |
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.
Some names need to be updated to be aligned with the other SDKs. I tried to find the meetings notes from the meeting where the names were decided, but couldn't. In any case, I just copied the names from .NET as those should be the same as what's in other SDKs.
Co-authored-by: Nikola Irinchev <irinchev@me.com>
Co-authored-by: Nikola Irinchev <irinchev@me.com>
Co-authored-by: Nikola Irinchev <irinchev@me.com>
* fixup client reset * Update src/realm_dart_sync.cpp Co-authored-by: Kasper Overgård Nielsen <kasper.nielsen@mongodb.com> * Update src/realm_dart_sync.cpp Co-authored-by: Kasper Overgård Nielsen <kasper.nielsen@mongodb.com> * reorder parameters * guard the full body of reset the callbacks release unowned realms * don't abbreviate functionname. use simple return. Co-authored-by: Kasper Overgård Nielsen <kasper.nielsen@mongodb.com>
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.
LGTM. Have a few suggestions. Mainly to the CHANGELOG.md
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.
one small suggestion
Implements Client Resets support.
Added argument
clientResetHandler
when creatingFlexibleSyncConfiguration
. There are 4 possible handles that defines the mode of processing data in case of client reset:The default mode is RecoverOrDiscard.
Tests are added.
Fixes #353
Fixes #810