Closed foklepoint closed 3 years ago
💇♂️
My understanding of the issue is that Elasticsearch is hanging until a gateway timeout happens. This would fix the crash after the timeout but it'll still hang for a long time.
My understanding of the issue is that Elasticsearch is hanging until a gateway timeout happens. This would fix the crash after the timeout but it'll still hang for a long time.
This is indeed true :)
💇♂️ now we need to default deploy_annotation_id
as None as well, otherwise on_build_sync
fails
Couldn't find an easy way to adjust the timeout of reactor for ES :/
In our version of twisted the way to do a timeout is to do reactor.callLater(thetimeoutvalue)
and then join on that deferred and the HTTP deferred at the same time. Whichever fires first is the winner. Cancel the other.
Closing for now, not getting a lot of use out of elasticsearch anymore anyways
This addresses the issue where ES would be down and not return a doc id, but we still attempted to read the returned response even though the response code was not valid