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

storage: add replicated locks to storage metamorphic testing #109650

Closed
nvanbenschoten opened this issue Aug 29, 2023 · 1 comment · Fixed by #113698
Closed

storage: add replicated locks to storage metamorphic testing #109650

nvanbenschoten opened this issue Aug 29, 2023 · 1 comment · Fixed by #113698
Assignees
Labels
A-read-committed Related to the introduction of Read Committed A-storage Relating to our storage engine (Pebble) on-disk storage. A-testing Testing tools and infrastructure C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-storage Storage Team

Comments

@nvanbenschoten
Copy link
Member

nvanbenschoten commented Aug 29, 2023

As part of #100193, we should add replicated locks to the metamorphic testing in pkg/storage/metamorphic. In practice, this would mean exercising the two new functions added in #110323.

Jira issue: CRDB-31034

@nvanbenschoten nvanbenschoten added A-storage Relating to our storage engine (Pebble) on-disk storage. A-testing Testing tools and infrastructure T-kv KV Team A-read-committed Related to the introduction of Read Committed labels Aug 29, 2023
@blathers-crl blathers-crl bot added the T-storage Storage Team label Aug 29, 2023
@nvanbenschoten nvanbenschoten added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Aug 29, 2023
@cockroachdb cockroachdb deleted a comment from blathers-crl bot Aug 29, 2023
@nvanbenschoten nvanbenschoten removed the T-kv KV Team label Aug 29, 2023
@nicktrav
Copy link
Collaborator

nicktrav commented Oct 3, 2023

Note for @bananabrick - might also be worth taking a look at #96290, and address while we're in here.

@nicktrav nicktrav assigned itsbilal and unassigned bananabrick Oct 18, 2023
itsbilal added a commit to itsbilal/cockroach that referenced this issue Nov 2, 2023
This change adds two new operations to the MVCC metamorphic
testing package that were added in cockroachdb#110323. We check for
determinism in the storage package by adding these operations
to the metamorphic tests as well.

Fixes cockroachdb#109650.

Epic: none

Release note: None
craig bot pushed a commit that referenced this issue Nov 3, 2023
113643: roachtest: move validate-after-version-upgrade to new framework r=rafiss a=rafiss

The new framework provides a few more testing enhancements and is the only one that will be maintained.

fixes #110535
Release note: None

113676: roachtest: fix js install command (gpg) r=rafiss a=annrpom

We are seeing a `gpg: cannot open '/dev/tty': No such device or address` error from the new installation method we followed. Resolution seems to be nodejs/docker-node#922.

In case we are running into an issue with machines being reused, we
first check to see if we can install nodejs and npm before we add
a nodesource key and deb repository (to prevent gpg: dearmoring failed:
File exists) issues.

(Copied from a reply to the bug report in the issue linked above)
> For any script use you should anyway use --batch which disables the use
of the tty as a side-effect.

Fixes: #113673
Fixes: #113662
Fixes: #113659
Fixes: #113675
Fixes: #113677
Fixes: #113762

Release note: None

113698: metamorphic: add MVCC{CheckFor,}AcquireLock operations r=nvanbenschoten a=itsbilal

This change adds two new operations to the MVCC metamorphic testing package that were added in #110323. We check for determinism in the storage package by adding these operations to the metamorphic tests as well.

Fixes #109650.

Epic: none

Release note: None

Co-authored-by: Rafi Shamim <[email protected]>
Co-authored-by: Annie Pompa <[email protected]>
Co-authored-by: Bilal Akhtar <[email protected]>
@craig craig bot closed this as completed in e16e705 Nov 3, 2023
@jbowens jbowens moved this to Done in [Deprecated] Storage Jun 4, 2024
@github-project-automation github-project-automation bot moved this to Closed in KV Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-read-committed Related to the introduction of Read Committed A-storage Relating to our storage engine (Pebble) on-disk storage. A-testing Testing tools and infrastructure C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-storage Storage Team
Projects
No open projects
Archived in project
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants