[CURATOR-605] DistributedQueue#processWithLockSafety can give a message to two consumers if first consumer session dies
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- distributed-systems
Research direction
Start at DistributedQueue#processWithLockSafety and compare the failure scenario with CURATOR-537 and CURATOR-542. Determine how a consumer can verify that the lock still holds during consumption; done means a message cannot be delivered to two consumers when the first consumer session dies.
Written by the indexing model from the issue text.
Description
The is similar to one described here:
https://issues.apache.org/jira/browse/CURATOR-537
https://issues.apache.org/jira/browse/CURATOR-542
There is no way for consumer to check if the lock still holds. It could be solved by sharing a transactional CheckOp for lockNodePath with a consumer, so he could consume the message transactionally.
Originally reported by faucct, imported from: DistributedQueue#processWithLockSafety can give a message to two consumers if first consumer session dies
- assignee: randgalt
- status: Open
- priority: Major
- resolution: Unresolved
- imported: 2025-01-21
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 apache/curator
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Upgrade to Jackson 3 Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100