Remaining edges when cancelling queued work
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 47/100
Research direction
Start by reading the changes for #327 and trace how queued count cancellations are handled for PostgreSQL and MySQL. Find the queue and cancellation entry points, then inspect the relevant tests and documentation. Done means a cancelled count gets an immediate answer wherever it sits in the queue, PostgreSQL's late-cancel window is narrowed where possible, and the remaining protocol limitation is documented.
Written by the indexing model from the issue text.
Description
Summary
Two remaining edges of cancelling, after the fixes for #327:
- PostgreSQL: a cancel request cannot name the statement it is meant for, so a cancel that arrives late can stop the next statement. This window is now narrower, and the protocol does not allow removing it completely.
- MySQL: when several counts are queued behind an open result, cancelling one that is not first in the queue gets no immediate answer; the session closes after 60 seconds, which ends an open transaction.
Plan
Answer a cancelled count at once wherever it sits in the queue. For PostgreSQL, narrow the window further where possible and say what remains in the docs.
Plan history
- 2026-11-11: Issue opened.
- Dominant language
- Rust
- Stars
- 166
- Forks
- 8
- Avg merge
- 4h 24m
- Merged PRs (30d)
- 291
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DokaDev/datarig
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
DokaDev/datarig#544 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
bug P2: medium
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
tests
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vfarcic/dot-agent-deck#2512 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
pop-os/cosmic-applets#1641 ·
Maintainers usually reply within 3 days