GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix bogus failure of test expr by saygoodbyye · Pull Request #1678 · apache/age

Conversation

@saygoodbyye

@saygoodbyye saygoodbyye commented Mar 15, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All discussions were conducted in #1439
Changes:

  1. force_parallel_mode was set to 'regress' to avoid "CONTEXT: parallel worker" message appear
  2. fixed unsorted output in the specified query

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@saygoodbyye
Fix bogus failure of test expr
7c7e996
@github-actions github-actions Bot added the PG15 PostgreSQL15 label Mar 15, 2024
@aked21
aked21 requested a review from rafsun42 April 10, 2024 05:19
@aked21

aked21 commented Apr 10, 2024

Copy link
Copy Markdown
Contributor

@rafsun42, please review this PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rafsun42
rafsun42 merged commit 4d5c404 into apache:PG15 Apr 10, 2024
@rafsun42

rafsun42 commented Apr 10, 2024

Copy link
Copy Markdown
Member

@aked21 Merged.
@saygoodbyye Could you please create this PR for PG14, 13, 12 and 11 branch as well?

aked21 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rafsun42
rafsun42 reviewed Apr 10, 2024
View reviewed changes

@rafsun42 rafsun42 left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jrgemignani

jrgemignani commented Apr 11, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Please fix this PR before proceeding, it increased the runtime of the regression test for expr by ~5 times.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rafsun42

rafsun42 commented Apr 11, 2024

Copy link
Copy Markdown
Member

@saygoodbyye Since force_parallel_mode is affecting performance of other queries in the test file, should we only apply SET force_parallel_mode TO regress; to the query that failed rather than the entire file, as previously discussed? For example-

...
SET force_parallel_mode TO regress;
SELECT * FROM cypher('keys', $$MATCH ()-[e]-() RETURN keys(e) ORDER BY e DESC $$) AS (edge_keys agtype);
RESET force_parallel_mode;
...
jrgemignani reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jrgemignani jrgemignani mentioned this pull request Apr 16, 2024
Fix bogus failure of test expr #1677
Closed
@jrgemignani

jrgemignani commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

@rafsun42 @saygoodbyye This PR is at risk of being rolled back completely if the issue of the 5x increase in regression runtime is not resolved. Please make the changes that are necessary more targeted.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rafsun42 added a commit to rafsun42/age that referenced this pull request Apr 19, 2024
@rafsun42
Fix slow running regression test expr
965117b
Fixes slow runtime, introduced in PR apache#1678, of the regression test expr. This patch
sets the config param `force_parallel_mode TO regress` only to a selective query
rather than the entire expr.sql file.
@rafsun42 rafsun42 mentioned this pull request Apr 19, 2024
Fix slow running regression test expr #1772
Merged
@rafsun42

rafsun42 commented Apr 19, 2024

Copy link
Copy Markdown
Member

@jrgemignani @saygoodbyye Created a PR #1772 addressing the issue. We can move this discussion there.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rafsun42 rafsun42 mentioned this pull request Apr 19, 2024
Update regression test to prevent bogus failure #1483
Closed
dehowef pushed a commit that referenced this pull request Apr 22, 2024
@rafsun42
Fix slow running regression test expr (#1772)
2d3f4bd
Fixes slow runtime, introduced in PR #1678, of the regression test expr. This patch
sets the config param `force_parallel_mode TO regress` only to a selective query
rather than the entire expr.sql file.
@MuhammadTahaNaveed MuhammadTahaNaveed mentioned this pull request May 11, 2024
Periodic regression test "expr" failures #1439
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rafsun42 rafsun42 rafsun42 left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

PG15 PostgreSQL15

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@saygoodbyye @aked21 @rafsun42 @jrgemignani
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 01402775 — 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.