Skip to content

job-gate: run a query again when its q-error document does not parse - #282

Merged
tamnd merged 1 commit into
mainfrom
qerror-retry
Oct 9, 2026
Merged

tamnd merged 1 commit into
mainfrom
qerror-retry

Conversation

@tamnd

@tamnd tamnd commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Part of J8 (tamnd/rudb#1852).

The first full qerror norule run on server2 stopped at 6d, because DuckDB's JSON profile for that query did not parse. Run on its own a minute later the same query gave a whole profile, so the file was cut short. The disk on server2 is 99% full and shared, which is the likely cause.

graded now runs a query up to three times when the document it reads back does not parse, and gives None after that, which the loop already writes as an error row. Before this, one bad document ended the run and lost the summary for every query.

@tamnd tamnd added kind/test Test apparatus rather than the thing tested. area/report The per-query tables, the dashboard, the reporting rules. labels Oct 9, 2026
@tamnd
tamnd merged commit 858814b into main Oct 9, 2026
1 check failed
@tamnd
tamnd deleted the qerror-retry branch October 9, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/report The per-query tables, the dashboard, the reporting rules. kind/test Test apparatus rather than the thing tested.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant