Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: fix flake in TestExecBuild/local/autocommit #41512

Merged

Conversation

nvanbenschoten
Copy link
Member

Broken by #41358.

The async traces were... async, so the ordering of the trace output
was non-deterministic. This commit fixes the flakiness by filtering
out async trace events.

Release note: None

@nvanbenschoten nvanbenschoten requested a review from a team as a code owner October 10, 2019 19:41
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Please run the testfile under make stress for a bit before merging.

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde)

Broken by cockroachdb#41358.

The async traces were... async, so the ordering of the trace output
was non-deterministic. This commit fixes the flakiness by filtering
out async trace events.

Release note: None
@nvanbenschoten nvanbenschoten force-pushed the nvanbenschoten/autocommitFix branch from b3c286a to 0fe8463 Compare October 10, 2019 19:53
@nvanbenschoten
Copy link
Member Author

Please run the testfile under make stress for a bit before merging.

That caught some flakiness around intent resolution. Things look stable now.

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

LGTM

Technically I think these all should have the rowsort option as there is no ORDER BY. They'll never run distributed though so in practice it shouldn't matter.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@nvanbenschoten
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 10, 2019

Build failed (retrying...)

@craig
Copy link
Contributor

craig bot commented Oct 10, 2019

Merge conflict (retrying...)

1 similar comment
@craig
Copy link
Contributor

craig bot commented Oct 11, 2019

Merge conflict (retrying...)

craig bot pushed a commit that referenced this pull request Oct 11, 2019
41512: sql: fix flake in TestExecBuild/local/autocommit r=nvanbenschoten a=nvanbenschoten

Broken by #41358.

The async traces were... async, so the ordering of the trace output
was non-deterministic. This commit fixes the flakiness by filtering
out async trace events.

Release note: None

Co-authored-by: Nathan VanBenschoten <[email protected]>
@craig
Copy link
Contributor

craig bot commented Oct 11, 2019

Build succeeded

@craig craig bot merged commit 0fe8463 into cockroachdb:master Oct 11, 2019
@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/autocommitFix branch October 14, 2019 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants