GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [python] Report a pipeline restart instead of an empty view in the aggtest harness by bestouff · Pull Request #7816 · feldera/feldera Conversation
Contributor
Fixes the misleading failure in #7688 and the post-ingestion variant of #6986. A pipeline pod that restarts after ingestion holds empty tables, reports Running, and answers every ad-hoc query with an empty result. The harness then blamed the first view it queried: Completion tokens only catch a restart during ingestion. This change records the incarnation UUID after start and, when a view check fails, compares it again. A changed UUID raises
Unit test in
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…gtest harness A pipeline pod that restarts after ingestion holds empty tables, reports Running, and answers every ad-hoc query with an empty result. The harness then blamed the first view it queried, for example in #7688: ASSERTION ERROR: failed view: varchar_arg_min_gby Received: [] Completion tokens only catch a restart during ingestion (#6986). Record the incarnation UUID after start and, when a view check fails, compare it again. A changed UUID raises PipelineRestartedError, which names both incarnations and the input record count of the new one.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. bug (medium): an empty expected result hides the restart. The incarnation is compared only when a view fails. About 98 aggtest views expect for view in views: ... raise_if_restarted(pipeline, incarnation, AssertionError("all views validated")) (Or split the helper into a
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pitfall (medium): a failing
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. …iff when the probe fails Review follow-up on the aggtest restart check: - Compare the incarnation once more after all views validated. About 98 aggtest views expect no rows, and those pass on an empty new incarnation, so a restart could turn a pipeline green. - A failed stats() probe right after a suspected restart no longer replaces the view diff. The harness prints a warning and re-raises the original assertion. - Unit tests now drive run_pipeline with a fake pipeline, so the wiring is covered: restart reported, plain mismatch kept, restart behind empty views, failed probe, and the passing case.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
This was referenced
mihaibudiu
approved these changes
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |