-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sqlccl: test prepared statement in session migration test #108305
Conversation
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.
Thanks! Any luck with UDTs on a reproduction?
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @ecwall and @jaylim-crl)
76ad4c7
to
1f2738c
Compare
Yeah, UDTs worked in the simple test I made. I updated the PR now. |
1f2738c
to
7ebca5e
Compare
@@ -20,6 +20,7 @@ import ( | |||
"github.com/cockroachdb/cockroach/pkg/testutils/serverutils" | |||
"github.com/cockroachdb/cockroach/pkg/testutils/sqlutils" | |||
"github.com/cockroachdb/cockroach/pkg/util/leaktest" | |||
"github.com/jackc/pgx/v4" |
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.
Can you use v5 or is v4 required for this test?
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.
done
7ebca5e
to
c0867be
Compare
tftr bors r+ |
Build failed: |
Release note: None
c0867be
to
70adada
Compare
bors r+ |
This PR was included in a batch that timed out, it will be automatically retried |
Build succeeded: |
108179: concurrency: use lock modes to detect conflicts during optimistic eval r=nvanbenschoten a=arulajmani This patch switches over conflict resolution performed by optimistic evaluation to use lock modes instead of ad-hoc logic. As a result of this, optimistic evaluation is able to handle shared locks. We add a test to show this. Closes #108142 Release note: None 108503: sql: do not evaluate AOST timestamp in session migrations r=rafiss a=rafiss fixes https://github.com/cockroachlabs/support/issues/2510 refs #108305 Release note (bug fix): Fixed a bug where a session migration performed by SHOW TRANSFER STATE would not handle prepared statements that used the AS OF SYSTEM TIME clause. Users who encountered this bug would see errors such as `expected 1 or 0 for number of format codes, got N`. This bug was present since v22.2.0. 108523: roachtest: Reset job load attempt when loading cdc job r=miretskiy a=miretskiy Fixes #108433 Release note: None Co-authored-by: Arul Ajmani <[email protected]> Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: Yevgeniy Miretskiy <[email protected]>
There are other tests in pkg/sql/testdata/session_migration but the one in this PR is a full integration test.
informs https://github.com/cockroachlabs/support/issues/2510
Release note: None