Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Asure sync between query-schedule and result #545

Open
achaikou opened this issue Apr 13, 2022 · 0 comments
Open

Asure sync between query-schedule and result #545

achaikou opened this issue Apr 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@achaikou
Copy link
Contributor

Real case scenario from failing integration test:

Client fails with
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://server:8080/result/5e66997e-8b8d-4647-b43c-1bbae77dd54c/stream
because this runs earlier than this (or something nearby) is run.
Can be reproduced by manually adding timeout before operation in Schedule.

Logs from real-world scenario

api_1       | 2022-04-12T20:53:48.067639267Z 2022/04/12 20:53:48 Getting URL http://filesystem:8112/471b957eb8e7ee7e9bdfdc93a6992d7264a77a77
api_1       | 2022-04-12T20:53:48.069646883Z [GIN] 2022/04/12 - 20:53:48 | 200 |    2.128124ms |      172.18.0.6 | POST     "/graphql"
server_1    | 2022-04-12T20:53:48.069781291Z 172.18.0.8 - - [12/Apr/2022:20:53:48 +0000] "POST /graphql HTTP/1.1" 200 265 "-" "python-requests/2.27.1"
server_1    | 2022-04-12T20:53:48.080776530Z 172.18.0.8 - - [12/Apr/2022:20:53:48 +0000] "GET /result/5e66997e-8b8d-4647-b43c-1bbae77dd54c/stream HTTP/1.1" 404 0 "-" "python-requests/2.27.1"
result_1    | 2022-04-12T20:53:48.080837733Z 2022/04/12 20:53:48 Unable to get process header: redis: nil
result_1    | 2022-04-12T20:53:48.080867235Z [GIN] 2022/04/12 - 20:53:48 | 404 |    4.053535ms |      172.18.0.6 | GET      "/result/5e66997e-8b8d-4647-b43c-1bbae77dd54c/stream"
fragment_1  | 2022-04-12T20:53:48.082279017Z 2022/04/12 20:53:48 pid=5e66997e-8b8d-4647-b43c-1bbae77dd54c, part=0/1 ready
fragment_1  | 2022-04-12T20:53:48.083164068Z 2022/04/12 20:53:48 pid=5e66997e-8b8d-4647-b43c-1bbae77dd54c, part=0/1 written to storage
@achaikou achaikou added the bug Something isn't working label Apr 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant