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

roachtest: fix pgjdbc and typeorm #81552

Merged
merged 2 commits into from
May 20, 2022
Merged

roachtest: fix pgjdbc and typeorm #81552

merged 2 commits into from
May 20, 2022

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented May 19, 2022

fixes #81515
fixes #81431

See individual commits.

More tests pass now that we support ALTER SEQUENCE ... RESTART

Release note: None
@rafiss rafiss requested a review from a team May 19, 2022 20:49
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

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

the typeorm situation is quite sad :(

@rafiss
Copy link
Collaborator Author

rafiss commented May 20, 2022

yeah :/

it seems like typeorm actually already has retry logic for txns: https://github.com/typeorm/typeorm/blob/189592c77980e766f92f6eb77dbd7412db106086/src/driver/cockroachdb/CockroachQueryRunner.ts#L187

but i guess it can't kick in for some commands?

bors r=otan

@craig
Copy link
Contributor

craig bot commented May 20, 2022

Build succeeded:

@craig craig bot merged commit 85d99af into cockroachdb:master May 20, 2022
@rafiss rafiss deleted the fix-pgjdbc branch May 24, 2022 18:25
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.

roachtest: typeorm failed roachtest: pgjdbc failed
3 participants