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

Backport list versions and delete_snapshot race 8104588520 #2102

Merged
merged 8 commits into from
Jan 7, 2025

Conversation

poodlewars
Copy link
Collaborator

@poodlewars poodlewars commented Jan 6, 2025

Backports of:

#1719 (testing infra for NFS backend)
#2092 (fix race between list versions and deleting snapshots)

Dropped the C++ unit test added in PR 2092 as it relies on some support for testing with mocked out NFS backends that I don't want to backport. The Python test is end to end and should suffice.

Skip the Windows CI as it has rotted on 4.4.x. We don't have a customer who needs LTS 4.4.x releases on Windows.

…2092)

See arcticc PR #1170 for more context and discussion.

The keys in the `KeysNotFoundException` were not having
`unencode_object_id` applied to them, so in the snapshot iteration we
were incorrectly thinking they were different to the snapshot key being
iterated over (which has had the unencoding applied).
I need to test against the NFS style backend in the
`arcticdb-enterprise` repo so I need these test fixture improvements.

I thought it would be worthwhile adding an NFS backend test while I'm
here, as a way to make sure that the fixtures are maintained properly.

Motivation: man-group/arcticdb-enterprise#139
@poodlewars poodlewars force-pushed the aseaton/bug/4.4.x/list-versions-snapshots-race branch 2 times, most recently from f512630 to e90e9ea Compare January 6, 2025 13:22
@poodlewars poodlewars marked this pull request as ready for review January 6, 2025 13:23
@willdealtry willdealtry self-requested a review January 6, 2025 13:26
@poodlewars poodlewars force-pushed the aseaton/bug/4.4.x/list-versions-snapshots-race branch from e90e9ea to 0091de2 Compare January 6, 2025 16:17
@poodlewars poodlewars merged commit e55e375 into 4.4.x Jan 7, 2025
64 checks passed
@poodlewars poodlewars deleted the aseaton/bug/4.4.x/list-versions-snapshots-race branch January 7, 2025 13:41
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.

2 participants