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

query-tee: don't bother comparing responses for cancelled requests #9640

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Oct 16, 2024

What this PR does

This PR changes the behaviour of query-tee to not compare responses for cancelled requests.

If an incoming request is cancelled, that cancellation is propagated to the backends, but this is racy and can result in different responses from each backend. For example, one may finish processing the request before it observes the cancellation, and the other may observe the cancellation and abort processing. This then results in a response comparison failure, but this isn't interesting.

Which issue(s) this PR fixes or relates to

(none)

Checklist

  • Tests updated.
  • [n/a] Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [n/a] about-versioning.md updated with experimental features.

@charleskorn charleskorn marked this pull request as ready for review October 16, 2024 04:57
@charleskorn charleskorn requested a review from a team as a code owner October 16, 2024 04:57
@charleskorn charleskorn merged commit cbf76b7 into main Oct 16, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/query-tee-cancellation-handling branch October 16, 2024 05:05
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.

2 participants