Repository navigation
fix(ai): retry a Qdrant request after a 429, 502, 503 or 504 answer - #6761
Merged
Merged
Conversation
Owner
Author
|
Review points for the owner:
|
dan-petty
force-pushed
the
fix/6757-qdrant-retry-gateway-errors
branch
from
November 22, 2026 13:07
f66df38 to
da13db7
Compare
dan-petty
marked this pull request as ready for review
November 22, 2026 13:15
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.194.0](v0.193.1...v0.194.0) (2026-11-22) ### Features * **roadmap:** run the runner Job as three containers ([#6732](#6732)) ([97d6bc7](97d6bc7)), closes [#3700](#3700) ### Bug Fixes * **ai:** retry a Qdrant request after a 429, 502, 503 or 504 answer ([#6761](#6761)) ([a406980](a406980)) * **deps:** pin the devtools image in its run tag form ([#6763](#6763)) ([4735538](4735538)), closes [#6760](#6760) * **k8s:** Scrape the SearXNG engine metrics ([#6755](#6755)) ([80fc29d](80fc29d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Qdrant request gets a retry after an answer with the status 429, 502, 503 or 504. Before, one 502 (Bad Gateway) from the proxy in front of Qdrant stopped a full
devops ai rag indexrun: qdrant-client raisesUnexpectedResponse, and the client counted it as permanent._is_transient_qdrant_errordecides anUnexpectedResponseby its status alone, with the table_RETRY_STATUSES. Each other status, such as 400, 408 or 500, ends the operation at once._execute_with_retrydoes not change: a gateway answer gets the backoff and attempt limit of a transport error.serving_qdrantcan answer with an error status and an HTML body.docs/TESTING.mdstates it.upload_points, each error withtime.sleep.Closes #6757
Change:
openspec/changes/archive/2026-11-22-6757-qdrant-retry-gateway-errors/