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

copy: fix extra flush loop causing test to flake #101792

Merged
merged 1 commit into from
May 3, 2023

Conversation

cucaroach
Copy link
Contributor

Release note: None
Epic: None
Fixes: #101610

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cucaroach cucaroach marked this pull request as ready for review April 19, 2023 01:27
@cucaroach cucaroach requested a review from a team as a code owner April 19, 2023 01:27
Copy link
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @cucaroach)

@cucaroach cucaroach added backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.1.0 labels Apr 19, 2023
@cucaroach
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 19, 2023

🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

@cucaroach
Copy link
Contributor Author

bors retry

@craig
Copy link
Contributor

craig bot commented Apr 20, 2023

Build failed:

@cucaroach
Copy link
Contributor Author

bors retry

@craig
Copy link
Contributor

craig bot commented Apr 20, 2023

Build failed:

Previously we would try again and increment batch number when a
retriable error occurred, now we call a hook on retries so we can
uncount that batch. Also don't bother calling the insert routine if
the length of the batch is 0, it will be a noop but still call the
hook incrementing the batch counter.

Release note: None
Epic: None
Fixes: cockroachdb#101610
@cucaroach
Copy link
Contributor Author

bors retry

@craig
Copy link
Contributor

craig bot commented May 3, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pkg/sql/copy/copy_test: TestLargeDynamicRows failed
3 participants