Skip to content

Add back keep_alive to async_search.submit #3601

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

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Conversation

pquentin
Copy link
Member

Partially reverts #3199. This bug was also shipped to 8.17 in #3200 and 8.x in #3201, which explains the backports. The same revert is done on the rest-api-spec side in elastic/elasticsearch#120781.

The Kibana team, specifically @lukasolson, noticed this. Thank you!

Copy link
Contributor

Following you can find the validation results for the API you have changed.

API Status Request Response
async_search.submit 🟢 7/7 7/7

You can validate this API yourself by using the make validate target.

@pquentin pquentin merged commit c3c2156 into main Jan 24, 2025
14 checks passed
@pquentin pquentin deleted the async-search-keep-alive branch January 24, 2025 11:01
Copy link
Contributor

The backport to 8.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.x 8.x
# Navigate to the new working tree
cd .worktrees/backport-8.x
# Create a new branch
git switch --create backport-3601-to-8.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 c3c2156ab2f5289322177c626c5264157c03dc47
# Push it to GitHub
git push --set-upstream origin backport-3601-to-8.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.x

Then, create a pull request where the base branch is 8.x and the compare/head branch is backport-3601-to-8.x.

Copy link
Contributor

The backport to 8.17 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.17 8.17
# Navigate to the new working tree
cd .worktrees/backport-8.17
# Create a new branch
git switch --create backport-3601-to-8.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 c3c2156ab2f5289322177c626c5264157c03dc47
# Push it to GitHub
git push --set-upstream origin backport-3601-to-8.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.17

Then, create a pull request where the base branch is 8.17 and the compare/head branch is backport-3601-to-8.17.

pquentin added a commit that referenced this pull request Feb 20, 2025
(cherry picked from commit c3c2156)

# Conflicts:
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
pquentin added a commit that referenced this pull request Feb 20, 2025
(cherry picked from commit c3c2156)

# Conflicts:
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
pquentin added a commit that referenced this pull request Feb 20, 2025
(cherry picked from commit c3c2156)

# Conflicts:
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
@pquentin
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.x
8.18
8.17

Questions ?

Please refer to the Backport tool documentation

pquentin added a commit that referenced this pull request Feb 20, 2025
(cherry picked from commit c3c2156)

# Conflicts:
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
pquentin added a commit that referenced this pull request Feb 20, 2025
(cherry picked from commit c3c2156)

# Conflicts:
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json
pquentin added a commit that referenced this pull request Feb 20, 2025
* Add back keep_alive to async_search.submit (#3601)

(cherry picked from commit c3c2156)

# Conflicts:
#	output/schema/schema-serverless.json
#	output/schema/schema.json
#	output/schema/validation-errors.json

* Run make contrib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants