-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrossDC bugfixes to replication task generation and conflict resolver (…
…#799) Replication information captured for replication task has the wrong last event id, as it is captured before CloseSession on mutable state. Update stale replication task detection to use LastWriteEventID instead of Current version. Otherwise this results in throwing away tasks when they could potentially be applied. Fix broken conflict resolution logic to set mutable state fields like next event id, lastFirstEventID, etc which were not set as a result of applying history events and need to be set explicitly.
- Loading branch information
1 parent
ad90819
commit 4ae0147
Showing
3 changed files
with
76 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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 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 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