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

Child can replicate resource before file exists #1562

Open
paulbert opened this issue Jul 3, 2018 · 0 comments
Open

Child can replicate resource before file exists #1562

paulbert opened this issue Jul 3, 2018 · 0 comments

Comments

@paulbert
Copy link
Member

paulbert commented Jul 3, 2018

With the current workflow when we add a resource two requests are sent to CouchDB.

  1. Create a new document with the JSON metadata for the resource
  2. Upload the file attachment to the database

For large files there may be a long period where the JSON is on the database but there is no file. A child planet (community) could during this period replicate that document and only receive the JSON without the file.

Maybe we should only show resources with attachments in the parent view to avoid this? Or we could have a warning that the resource is not yet available?

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

No branches or pull requests

1 participant