-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix transaction in UpdateAndFindMinSyncedVersionVector (#1050)
This commit resolves an issue where the PushPull operation does not function correctly when using the Memory DB. UpdateAndFindMinSyncedVersionVector was previously set to start in write mode, which causes it to simply read documents. However, inside this function, it calls UpdateVersionVector, which attempts to start in write mode again, resulting in a deadlock scenario where the transaction cannot be acquired, causing an infinite wait.
- Loading branch information
1 parent
bd2ebe9
commit fac4779
Showing
4 changed files
with
8 additions
and
8 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
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