Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used OrderedScheduler for ledger offload (#1808)
We want to ensure that operations for the same ledger do not overlap. This is particularly important for the ReadHandle as it has state(the buffer) which could be corrupted by multiple concurrent calls. To avoid this overlap, we use an OrderedScheduler, so all operations on a single ledger will run on the same single thread executor. Master Issue: #1511
- Loading branch information
Showing
3 changed files
with
18 additions
and
18 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