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

sql: enable read committed cluster setting by default #118479

Merged
merged 1 commit into from Jan 30, 2024

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Jan 30, 2024

Epic CRDB-34172

Release note (sql change): The sql.txn.read_committed_isolation.enabled cluster setting is now true by default. This means that any syntax and settings that configure the READ COMMITTED isolation level will now cause the transaction to use that isolation level, rather than automatically upgrading the transaction to SERIALIZABLE.

@rafiss rafiss requested review from a team as code owners January 30, 2024 16:04
@rafiss rafiss requested review from herkolategan and srosenberg and removed request for a team January 30, 2024 16:04
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

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

:lgtm: exciting!

Reviewed 23 of 23 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @herkolategan, @michae2, @rafiss, and @srosenberg)


pkg/sql/logictest/testdata/logic_test/txn line 237 at r1 (raw file):


statement ok
SE CLUSTER SETTING sql.txn.read_committed_isolation.enabled = false

CI is complaining about the SET misspelling.

Release note (sql change): The sql.txn.read_committed_isolation.enabled
cluster setting is now true by default. This means that any syntax and
settings that configure the READ COMMITTED isolation level will now
cause the transaction to use that isolation level, rather than
automatically upgrading the transaction to SERIALIZABLE.
@rafiss
Copy link
Collaborator Author

rafiss commented Jan 30, 2024

tftr!

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 30, 2024

Build succeeded:

@craig craig bot merged commit 99c203b into cockroachdb:master Jan 30, 2024
7 of 9 checks passed
@rafiss rafiss deleted the enable-rc-default branch January 30, 2024 19:55
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.

None yet

3 participants