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

Remove SEARCH_PIPELINE feature flag (#8513) #8738

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

noCharger
Copy link
Contributor

@noCharger noCharger commented Jul 18, 2023

Description

Manual backport #8513. See details in #8513 (comment)

Check List

  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@noCharger noCharger force-pushed the remove-feature-flag-2-9 branch 2 times, most recently from d09627a to 8945bb0 Compare July 18, 2023 04:58
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@noCharger
Copy link
Contributor Author

Gradle Check (Jenkins) Run Completed with:

Need rerun on the flaky test. Also requesting review since this PR is for search pipelien GA in 2.9. @reta @andrross @saratvemulapalli

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Louis Chu <clingzhi@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@dblock
Copy link
Member

dblock commented Jul 18, 2023

@noCharger could you please dig through gradle check failures and fix failures or link to existing flaky tests if those are the problem?

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

am I correct that without the feature flag the feature can be enabled by making a certain query?

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@noCharger
Copy link
Contributor Author

noCharger commented Jul 18, 2023

@dblock This is for search pipeline feature GA. The gradle check failed on mixed-cluster test because the node with new code can't find the flag setting from the node with old code and vice versa (see #8513 (comment) for the full evaluation). It's related to this issue.

@noCharger noCharger requested a review from dblock July 18, 2023 14:07
@noCharger
Copy link
Contributor Author

am I correct that without the feature flag the feature can be enabled by making a certain query?

Right now you have to enable it by setting opensearch.experimental.feature.search_pipeline.enabled to ture in OpenSearch.yml; The previous commit https://github.com/opensearch-project/OpenSearch/pull/8613/files doesn't work because

return settings != null && settings.getAsBoolean(featureFlagName, false);
is always set to false.

@dblock
Copy link
Member

dblock commented Jul 18, 2023

Why did we not remove the experimental flag in #8613 and decided to just flip it? I would like to confirm that this feature is meant to go GA, aka not experimental and not behind a feature flag, in 2.9, yes?

@noCharger
Copy link
Contributor Author

Why did we not remove the experimental flag in #8613 and decided to just flip it? I would like to confirm that this feature is meant to go GA, aka not experimental and not behind a feature flag, in 2.9, yes?

Yes search pipeline is ready to go GA in 2.9

We started with removing the experimental flag in #8513 and use #8613 as an short term mitigation on this mixed cluster test issue: #8513 (comment).

@dblock
Copy link
Member

dblock commented Jul 18, 2023

Thanks @noCharger. There's an order in which these PRs turn 🟢, let's try to push them as such.

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

so, we've cut 2.9 branch, which makes this a chicken-and-egg problem - I am going to make a call and merge this with failing bcw tests, and we're going to ensure CI / gradle check passes on 2.9 after it's merged, even if we need to retry

@dblock dblock merged commit 1164221 into opensearch-project:2.9 Jul 18, 2023
6 of 7 checks passed
@dblock dblock added the backport 2.x Backport to 2.x branch label Jul 18, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 18, 2023
Signed-off-by: Louis Chu <clingzhi@amazon.com>
(cherry picked from commit 1164221)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dblock pushed a commit that referenced this pull request Jul 18, 2023
(cherry picked from commit 1164221)

Signed-off-by: Louis Chu <clingzhi@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants