Skip to content

Apply snapshot isolation to all SQL Server connection when it is enabled#11662

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/ebi/sqlserver-transaction
Apr 23, 2022
Merged

Apply snapshot isolation to all SQL Server connection when it is enabled#11662
ebyhr merged 1 commit intotrinodb:masterfrom
ebyhr:ebi/ebi/sqlserver-transaction

Conversation

@ebyhr
Copy link
Member

@ebyhr ebyhr commented Mar 25, 2022

Description

Apply snapshot isolation to all SQL Server connection when it is enabled. I confirmed testSelectInformationSchemaColumns & testReadMetadataWithRelationsConcurrentModifications in BaseSqlServerConnectorTest are still flaky.

Documentation

(x) No documentation is needed.

Release notes

( ) No release notes entries required.
(x) Release notes entries required with the following suggested text:

# SQL Server
* Apply snapshot isolation to all connections when it is enabled. ({issue}`11662`)

@cla-bot cla-bot bot added the cla-signed label Mar 25, 2022
@ebyhr ebyhr requested review from findepi, hashhar and wendigo March 25, 2022 07:43
@findepi
Copy link
Member

findepi commented Mar 25, 2022

Apply snapshot isolation to all SQL Server connection when it is enabled. I confirmed testSelectInformationSchemaColumns & testReadMetadataWithRelationsConcurrentModifications in BaseSqlServerConnectorTest are still flaky.

Does this PR fix them?

hashhar
hashhar previously approved these changes Mar 25, 2022
@ebyhr ebyhr force-pushed the ebi/ebi/sqlserver-transaction branch from b97f7eb to 660f048 Compare April 22, 2022 06:08
@ebyhr
Copy link
Member Author

ebyhr commented Apr 22, 2022

Does this PR fix them?

It doesn't fix as far as I tried. I hope this PR mitigates it though.

@ebyhr ebyhr force-pushed the ebi/ebi/sqlserver-transaction branch from 660f048 to be76157 Compare April 23, 2022 00:11
Connections generated in BaseJdbcClient didn't set
transaction isolation even when it was enabled.
@ebyhr ebyhr force-pushed the ebi/ebi/sqlserver-transaction branch from be76157 to 1a723a3 Compare April 23, 2022 00:58
@ebyhr ebyhr merged commit 70189fc into trinodb:master Apr 23, 2022
@ebyhr ebyhr deleted the ebi/ebi/sqlserver-transaction branch April 23, 2022 01:27
@ebyhr ebyhr mentioned this pull request Apr 23, 2022
@github-actions github-actions bot added this to the 379 milestone Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants