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

kv: teach kvnemesis about isolation levels and snapshot isolation #102260

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

nvanbenschoten
Copy link
Member

Informs #100169.

This commit teaches kvnemesis about transaction isolation levels, and specifically to generate snapshot isolation transaction closures. The commit is strictly plumbing because isolation level is currently a no-op. Once snapshot isolation is implemented, the validator logic in kvnemesis will need to change.

Release note: None

The subtest was fooling itself. Only tests that end in "-err" return errors. We
already had a `TestApplier/txn-err` subtest, so we just delete this one.

Epic: None
Release note: None
Informs cockroachdb#100169.

This commit teaches kvnemesis about transaction isolation levels, and
specifically to generate snapshot isolation transaction closures. The
commit is strictly plumbing because isolation level is currently a no-op.
Once snapshot isolation is implemented, the validator logic in kvnemesis
will need to change.

Release note: None
@nvanbenschoten nvanbenschoten requested a review from a team as a code owner April 25, 2023 17:37
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 9 of 9 files at r1, 118 of 118 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @nvanbenschoten)

@nvanbenschoten
Copy link
Member Author

bors r=arulajmani

@craig
Copy link
Contributor

craig bot commented Apr 27, 2023

Build succeeded:

@craig craig bot merged commit e875499 into cockroachdb:master Apr 27, 2023
@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/kvnemesisIso branch April 30, 2023 03:30
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.

3 participants