bookkeeper - parallel async read same entry of same ledger will fail
--------------------------------------------------------------------
Key: BOOKKEEPER-49
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-49
Project: Bookkeeper
Issue Type: Bug
Components: bookkeeper-client
Affects Versions: 3.4.0
Reporter: Sijie Guo
all ledgers shared a PerChannelBookieClient.
PerChannelBookieClient put all the read requests in a
ConcurrentHashMap<CompletionKey, ReadCompletion> map called readCompletions,
which is indexed by CompletionKey. If two read requests have same entryId and
same ledgerId, they have the same CompletionKey, the latter one will overwrite
the previous one. So a read request's callback will not be invoked.
we may need to chain the callbacks for same completion keys.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira