opensearch-project / opensearch-project/data-prepper
[BUG] S3 Scan partition ownership cannot expire with full buffer without acknowledgments enabled
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Describe the bug
Recent bug fix for this with acknowledgments enabled (https://github.com/opensearch-project/data-prepper/pull/4918#discussion_r1750930332)
Expected behavior
Without acknowledgments enabled, this issue can still occur. A separate thread should make the renewPartitionOwnership call when acknowledgments are not enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [e.g. Ubuntu 20.04 LTS]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
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
Read the issue and the referenced pull request discussion first, then locate the S3 Scan partition-ownership code and the renewPartitionOwnership call. Trace the full-buffer path when acknowledgments are disabled. Done means partition ownership can expire correctly in that configuration, with behavior verified by the relevant existing tests or a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100