-
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
sql: add max_prepared_transactions variable #129295
sql: add max_prepared_transactions variable #129295
Conversation
38034c3
to
af706c9
Compare
Informs cockroachdb#22329. This commit adds the max_prepared_transactions session variable, returning a value of math.MaxInt32 to indicate that there is no limit on the number of prepared transactions that can be created. This change has the effect of unblocking the pgjdbc XADataSourceTest test suite, which was previously failing during initialization. Is also includes a small patch to work around cockroachdb#31632 (unsupported deferrable qualifier) so that each test in the XA test suite actually runs (and fails). Release note: None
af706c9
to
e383180
Compare
I manually confirmed that this still passes the |
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.
very nice to get more free testing; nice find
Reviewable status: complete! 0 of 0 LGTMs obtained
TFTR! bors r=rafiss |
129295: sql: add max_prepared_transactions variable r=rafiss a=nvanbenschoten Informs #22329. This commit adds the `max_prepared_transactions` session variable, returning a value of math.MaxInt32 to indicate that there is no limit on the number of prepared transactions that can be created. This change has the effect of unblocking the pgjdbc `XADataSourceTest` test suite, which was previously failing during initialization. Is also includes a small patch to work around #31632 (unsupported deferrable qualifier) so that each test in the XA test suite actually runs (and fails, for the most part). Release note: None 129298: sql: add parser support for XA transactions r=rafiss a=nvanbenschoten Informs #22329. This commit adds new syntax for `PREPARE TRANSACTION <gid>`, `COMMIT PREPARED <gid>`, and `ROLLBACK PREPARED <gid>`, for parity with Postgres support. Handling of the syntax is currently unimplemented. Release note: None Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
Build failed (retrying...): |
129295: sql: add max_prepared_transactions variable r=rafiss a=nvanbenschoten Informs #22329. This commit adds the `max_prepared_transactions` session variable, returning a value of math.MaxInt32 to indicate that there is no limit on the number of prepared transactions that can be created. This change has the effect of unblocking the pgjdbc `XADataSourceTest` test suite, which was previously failing during initialization. Is also includes a small patch to work around #31632 (unsupported deferrable qualifier) so that each test in the XA test suite actually runs (and fails, for the most part). Release note: None Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
Build failed: |
bors retry |
129295: sql: add max_prepared_transactions variable r=rafiss a=nvanbenschoten Informs #22329. This commit adds the `max_prepared_transactions` session variable, returning a value of math.MaxInt32 to indicate that there is no limit on the number of prepared transactions that can be created. This change has the effect of unblocking the pgjdbc `XADataSourceTest` test suite, which was previously failing during initialization. Is also includes a small patch to work around #31632 (unsupported deferrable qualifier) so that each test in the XA test suite actually runs (and fails, for the most part). Release note: None 129297: sql: create system.prepared_transactions table r=rafiss a=nvanbenschoten Informs #22329. This commit adds a new `system.prepared_transactions` table, which will be used to track prepared transactions. The table includes all of the information needed to implement XA two-phase commit transactions, along with additional metadata needed to implement `pg_catalog.pg_prepared_xacts`. Release note: None 129298: sql: add parser support for XA transactions r=rafiss a=nvanbenschoten Informs #22329. This commit adds new syntax for `PREPARE TRANSACTION <gid>`, `COMMIT PREPARED <gid>`, and `ROLLBACK PREPARED <gid>`, for parity with Postgres support. Handling of the syntax is currently unimplemented. Release note: None Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
Build failed (retrying...): |
129295: sql: add max_prepared_transactions variable r=rafiss a=nvanbenschoten Informs #22329. This commit adds the `max_prepared_transactions` session variable, returning a value of math.MaxInt32 to indicate that there is no limit on the number of prepared transactions that can be created. This change has the effect of unblocking the pgjdbc `XADataSourceTest` test suite, which was previously failing during initialization. Is also includes a small patch to work around #31632 (unsupported deferrable qualifier) so that each test in the XA test suite actually runs (and fails, for the most part). Release note: None Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
Build failed: |
EngFlow issues this morning. bors retry |
Informs #22329.
This commit adds the
max_prepared_transactions
session variable, returning a value of math.MaxInt32 to indicate that there is no limit on the number of prepared transactions that can be created.This change has the effect of unblocking the pgjdbc
XADataSourceTest
test suite, which was previously failing during initialization. Is also includes a small patch to work around #31632 (unsupported deferrable qualifier) so that each test in the XA test suite actually runs (and fails, for the most part).Release note: None