Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
4.0.0, 4.1.0
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- depends upon
-
BOOKKEEPER-587 Make BK use protobufs on the wire
- Resolved
-
BOOKKEEPER-558 change bookkeeper request/response protocol to use protobuf
- Resolved
- is depended upon by
-
BOOKKEEPER-516 TestSpeculativeRead failed in Jenkins
- Resolved
- is duplicated by
-
BOOKKEEPER-105 A Bookkeeper can only open one LedgerHandle to a specific ledger at a time, if it expects them to work
- Resolved
- is related to
-
BOOKKEEPER-302 No more messages delivered when hub server scans messages over two ledgers.
- Closed
- relates to
-
BOOKKEEPER-582 Make bookie and client use protobuf for requests (non-wire part)
- Resolved