Skip to content

Conversation

@HyunSangHan
Copy link
Contributor

Description

Optimizes remote store refresh performance by avoiding unnecessary metadata uploads when no new segment files are uploaded. The metadata upload is now conditional on having new segments to upload.

Related Issues

Resolves #17530

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2025

❌ Gradle check result for 0dc8255: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Oct 1, 2025
@HyunSangHan HyunSangHan closed this Oct 8, 2025
@github-project-automation github-project-automation bot moved this from ✅ Done to 🏗 In progress in Storage Project Board Oct 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

❌ Gradle check result for 0dc8255: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-trigger-bot opensearch-trigger-bot bot removed the stalled Issues that have stalled label Oct 8, 2025
Copy link
Member

@sandeshkr419 sandeshkr419 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks reasonable. I have a minor comment.

Also, is there a way we can add a unit test case for this well?

@sandeshkr419
Copy link
Member

Can you please also add a changelog for this change.
Refer: https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#Changelog

Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
…WhenNewSegmentsPresent

Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2025

❌ Gradle check result for 1f94f4f: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Member

@sandeshkr419 sandeshkr419 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's rebase and get this merged!
Thanks @HyunSangHan for working on this!

@github-project-automation github-project-automation bot moved this from 🏗 In progress to 👀 In review in Storage Project Board Oct 21, 2025
sandeshkr419

This comment was marked as duplicate.

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
@github-actions
Copy link
Contributor

❌ Gradle check result for 6b48ac9: TIMEOUT

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Storage Project Board Nov 5, 2025
@sandeshkr419 sandeshkr419 reopened this Nov 5, 2025
@github-project-automation github-project-automation bot moved this from ✅ Done to 🏗 In progress in Storage Project Board Nov 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

❌ Gradle check result for 6b48ac9: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

❌ Gradle check result for 6b48ac9: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

❌ Gradle check result for 6b48ac9: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@sandeshkr419
Copy link
Member

@HyunSangHan Did you get a chance into looking into test failures?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement or improvement to existing feature or request good first issue Good for newcomers Storage:Remote

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

Skip metadata upload if no new segment files to upload during refresh for remote store clusters

2 participants