Transaction log follower can trigger after a transaction was deleted
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- aws, java
- Domain
- backend, distributed-systems
Research direction
Start by reading the related issues #8348 and #4218, which the issue identifies as connected to resolving this problem. The issue describes a lagging follower processing a transaction after it has been deleted, leaving the job tracker behind the state store. Done means resolving how to handle this case so the job tracker is eventually updated without falling further behind; the issue does not name implementation files or tests.
Written by the indexing model from the issue text.
Description
Description / Background
In a table with a large number of partitions, sometimes compactions can be successfully committed to the state store, but remain uncommitted indefinitely according to the job tracker and reporting.
The follower lambda, which records the commit in the job tracker, can get so far behind that the transaction is deleted before it is processed in the follower.
Steps to reproduce
- Create a Sleeper table with a very large number of partitions
- Ingest enough data to create compactions across all partitions
- Leave this running with new data coming in
- See some compactions are stuck uncommitted in compaction job reports, even though they are committed to the state store
Expected behaviour
The job tracker should eventually be updated. It shouldn't get further and further behind.
Technical Notes / Implementation Details
There are some issues related to this:
We need to resolve how to deal with this in those.
- Dominant language
- Java
- Stars
- 107
- Forks
- 29
- Avg merge
- 1d 33m
- Merged PRs (30d)
- 115
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- 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 gchq/sleeper
-
enhancement scripts
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
EMR executor market type is not validated and any value other than ON_DEMAND is treated as SPOTOpenbug bulk-import-module
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug needs-refinement under-discussion
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
gchq/sleeper#8632 · 1 comment ·
Maintainers usually reply within 1 day
-
bug needs-refinement under-discussion
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Transaction log follower logs an error for every transaction deleted from the files logPossibly taken @ca61688 claimed this 1 day ago. Openbug size:small
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
gchq/sleeper#8624 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
MovingBlocks/Terasology#5415 ·
-
type: possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
面渣逆袭Spring事务传播机制勘误Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
itwanger/toBeBetterJavaer#218 ·
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a spacePossibly taken @RoiSoleil claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openrewrite/rewrite-spring#1286 ·
Maintainers usually reply within 1 day