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

DM-25818: Allow datastore.put to overwrite the stored file #342

Merged
merged 4 commits into from Aug 11, 2020

Conversation

timj
Copy link
Member

@timj timj commented Aug 3, 2020

No description provided.

@timj timj force-pushed the tickets/DM-25818 branch 3 times, most recently from 388c412 to cac8e1c Compare August 4, 2020 22:14
@timj timj force-pushed the tickets/DM-25818 branch 2 times, most recently from 5deb29e to 343836a Compare August 10, 2020 22:18
If registry doesn't think it should exist then
datastore should allow the overwrite.

This can go wrong if a file template is not unique such
that different datasets can end up with the same file name.

It may also be possible for the file to exist but be
in the trash table. In that situation the file might get
deleted when the trash is emptied.
This makes us a bit less worried about filenames being duplicated
in error.
@timj timj merged commit ed85d3c into master Aug 11, 2020
@timj timj deleted the tickets/DM-25818 branch August 11, 2020 19:31
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.

None yet

2 participants