-
Notifications
You must be signed in to change notification settings - Fork 892
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed simultaneus reads on same ledger/entry with v2 protocol
This change is coming from yahoo branch at yahoo/bookkeeperce7b0f7 With v2 protocol there's no way to disambiguate the read request since the completion key is made from (ledgerId, entryId). This PR introduced an additional multimap to handle the conflicts (multiple simultaneus read requests for the same entry). Author: Ivan Kelly <ivank@apache.org> Author: Matteo Merli <mmerli@apache.org> Reviewers: Jia Zhai <None>, Sijie Guo <sijie@apache.org> This closes #720 from merlimat/concurrent-read-v2
- Loading branch information
Showing
2 changed files
with
156 additions
and
68 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