Adding a Count Index to a Predicate Causes Transaction Aborts when writing concurrently
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 21.8k
- Forks
- 1.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 9
Description
Adding a count index to a predicate causes transaction aborts when a client is writing to the same predicate concurrently in two or more different threads.
Contributor 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.
Research direction
The report provides no file, test, or reproduction steps. Start by reproducing concurrent writes to the same predicate with a count index, then trace the transaction abort; done means those concurrent writes complete without unexpected aborts and the regression is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- database, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100