apache / apache/bookkeeper

bookkeeper client doesn't have any mechanism to cancel speculative requests

Open
#1,510 1 comment 0 reactions 0 assignees View on GitHub
area/client help wanted triage/week-8 type/improvement
Dominant language
Java
Stars
2k
Forks
976
Avg merge
6d 15h
Merged PRs (30d)
7

Description

*Problem*

#209 introduced the speculative policy interfaces. However the interfaces don't problem any mechanism to cancel speculative requests. so PendingReadOp and ReadLastAddConfirmedAndEntryOp don't have a way to cancel speculative requests when they are done.

Related Issues: #1476

Contributor guide

Open the contributing guide

Research direction

Start by reading the speculative policy interfaces introduced by #209, then trace PendingReadOp and ReadLastAddConfirmedAndEntryOp to see how speculative requests are issued and completed. Confirm how cancellation should be represented and verify that both operations can stop speculative requests once they are done, using any related tests you find in those code paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.