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

Investigate iget of replica with different naming scheme from host resource #2161

Closed
2 tasks done
alanking opened this issue Jan 8, 2024 · 3 comments
Closed
2 tasks done
Assignees
Labels

Comments

@alanking
Copy link
Contributor

alanking commented Jan 8, 2024

  • main
  • 4-2-stable

  1. put an object while resource is using consistent naming scheme; update naming scheme to decoupled; get the object
  2. put an object while resource is using decoupled naming scheme; update naming scheme to consistent; get the object

Can it get the object? Do we expect it to be able to get the object?

Originally posted by @alanking in #2159 (comment)


Please investigate and consider adding a test whether it works or not.

@JustinKyleJames
Copy link
Contributor

I committed an update to the test cases I previously wrote for pull #2159.

Basically, I was doing the following:

  1. Set the ARCHIVE_NAMING_POLICY.
  2. Put a file.
  3. Update ARCHIVE_NAMING_POLICY
  4. Overwrite the file
  5. Get and verify the file.

I added a get and verify step between 3 and 4. That should address this issue.

@trel
Copy link
Member

trel commented Jan 10, 2024

so to answer the original question - yes, we do expect it to work, and have now demonstrated it working.

for both cases 1 and 2.

@JustinKyleJames
Copy link
Contributor

The commit with this has been merged to both main and 4-2-stable. Closing this issue.

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

No branches or pull requests

3 participants