Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated nomenclature to differentiate between hot and warm tiering implementation. #17490

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

mayanksharma27
Copy link
Contributor

Description

  • We currently only have tiering implementation for warm indices.
  • The current nomenclature for feature flags and settings are too generic and cant differentiate between hot and warm indices.
  • Since we want to implement tiering for hot indices as well in near future; we would want to update the nomenclature to be extensible and easy to understand, this PR present the nomenclature changes.

Related Issues

Resolves #[17489]

Meta Issue #13149

Check List

  • [NA] Functionality includes testing.
  • [NA ] API changes companion pull request created, if applicable.
  • [NA] 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.

Copy link
Contributor

❌ Gradle check result for e920df4: 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?

mayanksharma27 added a commit to mayanksharma27/OpenSearch that referenced this pull request Mar 4, 2025
Copy link
Contributor Author

@mayanksharma27 mayanksharma27 left a comment

Choose a reason for hiding this comment

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

Addressed comments from @gbbafna

mayanksharma27 added a commit to mayanksharma27/OpenSearch that referenced this pull request Mar 6, 2025
mayanksharma27 added a commit to mayanksharma27/OpenSearch that referenced this pull request Mar 6, 2025
Copy link
Contributor

github-actions bot commented Mar 6, 2025

❌ Gradle check result for d18bd6e: 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
Contributor

github-actions bot commented Mar 6, 2025

✅ Gradle check result for 5552edd: SUCCESS

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

Attention: Patch coverage is 69.56522% with 7 lines in your changes missing coverage. Please review.

Project coverage is 72.42%. Comparing base (2ee8660) to head (a32221e).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
.../opensearch/index/engine/NRTReplicationEngine.java 0.00% 0 Missing and 2 partials ⚠️
...in/java/org/opensearch/index/shard/IndexShard.java 0.00% 1 Missing and 1 partial ⚠️
...ing/allocation/allocator/RemoteShardsBalancer.java 0.00% 1 Missing ⚠️
...c/main/java/org/opensearch/index/IndexService.java 50.00% 0 Missing and 1 partial ⚠️
.../indices/replication/SegmentReplicationTarget.java 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17490      +/-   ##
============================================
- Coverage     72.43%   72.42%   -0.02%     
- Complexity    65694    65728      +34     
============================================
  Files          5311     5311              
  Lines        304937   304933       -4     
  Branches      44226    44225       -1     
============================================
- Hits         220872   220836      -36     
- Misses        65912    65995      +83     
+ Partials      18153    18102      -51     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

mayanksharma27 added a commit to mayanksharma27/OpenSearch that referenced this pull request Mar 6, 2025
…ntation for warm and upcoming hot implementation

commit 5552edd
Author: Mayank Sharma <[email protected]>
Date:   Thu Mar 6 16:38:38 2025 +0530

    Empty commit to rerun flaky test

    Signed-off-by: Mayank Sharma <[email protected]>

commit d18bd6e
Author: Mayank Sharma <[email protected]>
Date:   Thu Mar 6 14:25:33 2025 +0530

    Ran spotlessapply

    Signed-off-by: Mayank Sharma <[email protected]>

commit d5ac854
Author: Mayank Sharma <[email protected]>
Date:   Wed Mar 5 19:59:05 2025 +0530

    Empty commit to rerun flaky test

    Signed-off-by: Mayank Sharma <[email protected]>

commit 44000ee
Author: Mayank Sharma <[email protected]>
Date:   Wed Mar 5 19:17:00 2025 +0530

    Fixed failing UTs for ShardsTieringAllocationTests

    Signed-off-by: Mayank Sharma <[email protected]>

commit 03a9305
Author: Mayank Sharma <[email protected]>
Date:   Wed Mar 5 17:54:33 2025 +0530

    Empty commit to rerun flaky test

    Signed-off-by: Mayank Sharma <[email protected]>

commit 795936a
Author: Mayank Sharma <[email protected]>
Date:   Wed Mar 5 12:10:18 2025 +0530

    Updated settings from "index.is.warm" to "index.warm" as part of PR comments opensearch-project#17490

    Signed-off-by: Mayank Sharma <[email protected]>

commit 724b934
Author: Mayank Sharma <[email protected]>
Date:   Tue Mar 4 17:09:19 2025 +0530

    Addressed comments for PR opensearch-project#17490

    Signed-off-by: Mayank Sharma <[email protected]>

commit f1a249f
Author: Mayank Sharma <[email protected]>
Date:   Fri Feb 28 19:02:24 2025 +0530

    Updated nomenclature to differentiate between current tiering implementation for warm and upcoming hot implementation

    Signed-off-by: Mayank Sharma <[email protected]>

Signed-off-by: Mayank Sharma <[email protected]>
mayanksharma27 added a commit to mayanksharma27/OpenSearch that referenced this pull request Mar 6, 2025
…current tiering implementation for warm and upcoming hot implementation

commit 9cdec49
Author: Mayank Sharma <[email protected]>
Date:   Thu Mar 6 18:04:16 2025 +0530

    Updated nomenclature to differentiate between current tiering implementation for warm and upcoming hot implementation

    commit 5552edd
    Author: Mayank Sharma <[email protected]>
    Date:   Thu Mar 6 16:38:38 2025 +0530

        Empty commit to rerun flaky test

        Signed-off-by: Mayank Sharma <[email protected]>

    commit d18bd6e
    Author: Mayank Sharma <[email protected]>
    Date:   Thu Mar 6 14:25:33 2025 +0530

        Ran spotlessapply

        Signed-off-by: Mayank Sharma <[email protected]>

    commit d5ac854
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 19:59:05 2025 +0530

        Empty commit to rerun flaky test

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 44000ee
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 19:17:00 2025 +0530

        Fixed failing UTs for ShardsTieringAllocationTests

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 03a9305
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 17:54:33 2025 +0530

        Empty commit to rerun flaky test

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 795936a
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 12:10:18 2025 +0530

        Updated settings from "index.is.warm" to "index.warm" as part of PR comments opensearch-project#17490

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 724b934
    Author: Mayank Sharma <[email protected]>
    Date:   Tue Mar 4 17:09:19 2025 +0530

        Addressed comments for PR opensearch-project#17490

        Signed-off-by: Mayank Sharma <[email protected]>

    commit f1a249f
    Author: Mayank Sharma <[email protected]>
    Date:   Fri Feb 28 19:02:24 2025 +0530

        Updated nomenclature to differentiate between current tiering implementation for warm and upcoming hot implementation

        Signed-off-by: Mayank Sharma <[email protected]>

    Signed-off-by: Mayank Sharma <[email protected]>

Signed-off-by: Mayank Sharma <[email protected]>
Copy link
Contributor

github-actions bot commented Mar 6, 2025

❌ Gradle check result for 3c323e2: 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?

@mayanksharma27
Copy link
Contributor Author

Flaky integ tests failing - #11037

Copy link
Contributor

❌ Gradle check result for 33f94d1: 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
Contributor

❌ Gradle check result for e6e82ca: 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
Contributor

❌ Gradle check result for 33f94d1: 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?

…current tiering implementation for warm and upcoming hot implementation

commit 9cdec49
Author: Mayank Sharma <[email protected]>
Date:   Thu Mar 6 18:04:16 2025 +0530

    Updated nomenclature to differentiate between current tiering implementation for warm and upcoming hot implementation

    commit 5552edd
    Author: Mayank Sharma <[email protected]>
    Date:   Thu Mar 6 16:38:38 2025 +0530

        Empty commit to rerun flaky test

        Signed-off-by: Mayank Sharma <[email protected]>

    commit d18bd6e
    Author: Mayank Sharma <[email protected]>
    Date:   Thu Mar 6 14:25:33 2025 +0530

        Ran spotlessapply

        Signed-off-by: Mayank Sharma <[email protected]>

    commit d5ac854
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 19:59:05 2025 +0530

        Empty commit to rerun flaky test

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 44000ee
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 19:17:00 2025 +0530

        Fixed failing UTs for ShardsTieringAllocationTests

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 03a9305
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 17:54:33 2025 +0530

        Empty commit to rerun flaky test

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 795936a
    Author: Mayank Sharma <[email protected]>
    Date:   Wed Mar 5 12:10:18 2025 +0530

        Updated settings from "index.is.warm" to "index.warm" as part of PR comments opensearch-project#17490

        Signed-off-by: Mayank Sharma <[email protected]>

    commit 724b934
    Author: Mayank Sharma <[email protected]>
    Date:   Tue Mar 4 17:09:19 2025 +0530

        Addressed comments for PR opensearch-project#17490

        Signed-off-by: Mayank Sharma <[email protected]>

    commit f1a249f
    Author: Mayank Sharma <[email protected]>
    Date:   Fri Feb 28 19:02:24 2025 +0530

        Updated nomenclature to differentiate between current tiering implementation for warm and upcoming hot implementation

        Signed-off-by: Mayank Sharma <[email protected]>

    Signed-off-by: Mayank Sharma <[email protected]>

Signed-off-by: Mayank Sharma <[email protected]>
Copy link
Contributor

❌ Gradle check result for a32221e: null

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
Contributor

❌ Gradle check result for a32221e: 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
Contributor

❌ Gradle check result for a32221e: 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
Collaborator

@Bukhtawar Bukhtawar left a comment

Choose a reason for hiding this comment

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

Is there a difference between searchable snapshot index vs tiered warm index?

Copy link
Contributor

✅ Gradle check result for a32221e: SUCCESS

@gbbafna
Copy link
Collaborator

gbbafna commented Mar 17, 2025

Is there a difference between searchable snapshot index vs tiered warm index?

Yes, index settings are different for both of them . For tiered warm index , store.data_locality is set to partial , whereas for searchable snapshots index.store.type: remote_snapshot is used.

@gbbafna gbbafna merged commit e27cf58 into opensearch-project:main Mar 17, 2025
31 of 32 checks passed
vinaykpud pushed a commit to vinaykpud/OpenSearch that referenced this pull request Mar 18, 2025
… current tiering implementation for warm and upcoming hot implementation (opensearch-project#17490)

Signed-off-by: Mayank Sharma <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
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.

3 participants