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

object_store/InMemory: Add fork() fn and deprecate clone() fn #4499

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented Jul 10, 2023

Which issue does this PR close?

Closes #4496.

Rationale for this change

see #4497

What changes are included in this PR?

This PR adds a non-async fork() fn to the InMemory store implementation, which does the same as the clone() fn, but without the async keyword. The clone() fn is changed to call fork() internally and is subsequently deprecated.

Are there any user-facing changes?

Yes, any user using .clone() will see a deprecation warning now.

/cc @tustvold

@github-actions github-actions bot added the object-store Object Store Interface label Jul 10, 2023
@tustvold tustvold merged commit e5378be into apache:master Jul 10, 2023
@Turbo87 Turbo87 deleted the in-memory-fork branch July 10, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

object_store/InMemory: Make clone() non-async
2 participants