Skip to content

Fix race condition between export partition creation and data file partition completion for ddb source#6651

Merged
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:Docdbfix
Mar 19, 2026
Merged

Fix race condition between export partition creation and data file partition completion for ddb source#6651
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:Docdbfix

Conversation

@graytaylor0

@graytaylor0 graytaylor0 commented Mar 18, 2026

Copy link
Copy Markdown
Member

Description

There was a potential race condition where the data file partitions could be completed before the export partition is created, and they would not be counted in the total completion of files for the export.

This is because the data file partitions were being created before the export partition, but the export partition should be created first.

Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…rtition completion for ddb source

Signed-off-by: Taylor Gray <tylgry@amazon.com>
@graytaylor0 graytaylor0 merged commit 610e8e8 into opensearch-project:main Mar 19, 2026
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants