Skip to content

roachtest: fix pgjdbc and typeorm#81552

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
rafiss:fix-pgjdbc
May 20, 2022
Merged

roachtest: fix pgjdbc and typeorm#81552
craig[bot] merged 2 commits intocockroachdb:masterfrom
rafiss:fix-pgjdbc

Conversation

@rafiss
Copy link
Copy Markdown
Collaborator

@rafiss rafiss commented May 19, 2022

fixes #81515
fixes #81431

See individual commits.

rafiss added 2 commits May 19, 2022 15:09
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
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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