Skip to content

Clear flags of SearchResult #4823

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 2 commits into from
Jun 30, 2024
Merged

Conversation

meiravgri
Copy link
Collaborator

In some pipelines, we can re-use the search result by clearing it before populating it with a new result.
If not cleared appropriately, it might affect subsequent results.
This change ensures the flag indicating expiration is cleared and the search result struct is ready to be re-used.

Copy link

codecov bot commented Jun 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.06%. Comparing base (a9967e8) to head (fc551fb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4823      +/-   ##
==========================================
- Coverage   86.06%   86.06%   -0.01%     
==========================================
  Files         190      190              
  Lines       33876    33877       +1     
==========================================
- Hits        29157    29156       -1     
- Misses       4719     4721       +2     

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

@meiravgri meiravgri enabled auto-merge June 30, 2024 12:42
@meiravgri meiravgri added this pull request to the merge queue Jun 30, 2024
Merged via the queue into master with commit acc96a0 Jun 30, 2024
@meiravgri meiravgri deleted the meiravg_fix_expire_clear_result branch June 30, 2024 13:39
Copy link

Backport failed for 2.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.8
git worktree add -d .worktree/backport-4823-to-2.8 origin/2.8
cd .worktree/backport-4823-to-2.8
git switch --create backport-4823-to-2.8
git cherry-pick -x acc96a0e6360886bf819344fa002c3eda6e3c88b

github-actions bot pushed a commit that referenced this pull request Jun 30, 2024
* fix

* skip on coordinator

(cherry picked from commit acc96a0)
Copy link

Successfully created backport PR for 2.10:

meiravgri added a commit that referenced this pull request Jun 30, 2024
* fix

* skip on coordinator

(cherry picked from commit acc96a0)
github-merge-queue bot pushed a commit that referenced this pull request Jun 30, 2024
Clear flags of SearchResult (#4823)

* fix

* skip on coordinator

(cherry picked from commit acc96a0)

Co-authored-by: meiravgri <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Jun 30, 2024
Clear flags of SearchResult (#4823)

* fix

* skip on coordinator

(cherry picked from commit acc96a0)
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.

3 participants