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

[#233] Add test for replica preservation on restage (main) #236

Closed
wants to merge 3 commits into from

Conversation

alanking
Copy link
Contributor

In service of #233
Companion PR for #234
Somewhat tangled up in #235

@alanking
Copy link
Contributor Author

Noting that this test passes with the change suggested here: #234 (comment)

@alanking alanking marked this pull request as draft December 12, 2023 20:46
@alanking alanking marked this pull request as ready for review December 12, 2023 22:49
@alanking alanking marked this pull request as draft December 12, 2023 23:31
This commit adds tests for restaging/tiering out to resources which already have
a good replica. The result should be no data movement, and updated metadata to
reflect the "tracked" replica.
When tiering out or restaging, a call to the replication API is made.
This commit checks to see whether a good replica already exists in the
hierarchy and skips the replication if so. This is required because
good replicas are not allowed to be overwritten at the risk of losing
data.
@alanking
Copy link
Contributor Author

#234 is addressing #232 and #233 quite nicely so I'm shifting focus to other issues. This PR is getting a little muddled in purpose so I'm going to open a new PR for this branch once I've addressed a couple of other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants