Fix IndexOutOfBoundsException when running include/exclude with non-existent prefix term#19637
Conversation
|
@msfroh could you take a look since you added this optimization |
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
e90ffb1 to
7f1e867
Compare
|
❌ Gradle check result for 7f1e867: 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? |
Signed-off-by: Ankit Jain <jainankitk@apache.org>
|
❌ Gradle check result for d6eb8db: 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? |
|
Another flaky test: cc: @kaushalmahi12 / @ruai0511 |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-19637-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 09b3b962cdbb703591fe7422f6eecad541f89c45
# Push it to GitHub
git push --set-upstream origin backport/backport-19637-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.xThen, create a pull request where the |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.19 2.19
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.19
# Create a new branch
git switch --create backport/backport-19637-to-2.19
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 09b3b962cdbb703591fe7422f6eecad541f89c45
# Push it to GitHub
git push --set-upstream origin backport/backport-19637-to-2.19
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.19Then, create a pull request where the |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-3.3 3.3
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-3.3
# Create a new branch
git switch --create backport/backport-19637-to-3.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 09b3b962cdbb703591fe7422f6eecad541f89c45
# Push it to GitHub
git push --set-upstream origin backport/backport-19637-to-3.3
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-3.3Then, create a pull request where the |
|
Created the backport PRs for 2.19 and 3.3. Don't need to backport for |
…xistent prefix term (opensearch-project#19637) Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org> Co-authored-by: Ankit Jain <jainankitk@apache.org>
…xistent prefix term (opensearch-project#19637) Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org> Co-authored-by: Ankit Jain <jainankitk@apache.org>
Description
As described in #19636, we check the bounds of the ordinal before we seek
Related Issues
Resolves #19636
Check List
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.