opensearch-project / opensearch-project/data-prepper

[BUG] S3 Scan partition ownership cannot expire with full buffer without acknowledgments enabled

Open
#4,928 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.