-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ledger: fix possible dbRound sync issue in trackers and the registry (#…
…3910) The trackerRegistry.dbRound value and cached dbRound values stored in trackers might go out of sync. Although they are updated under the same lock, produceCommittingTask might use outdated dbRound and give it to trackers with the updated state. The fix is simple: to have dbRound usage and produceCommittingTask invocation under the same lock.
- Loading branch information
1 parent
e58954d
commit bd1129e
Showing
3 changed files
with
183 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