Skip to content

Conversation

@nagem
Copy link
Contributor

@nagem nagem commented Feb 21, 2018

Closes #878
Closes #1081

Test fixes and additions yet to come

@nagem nagem requested review from ambrussimon and kofalt February 21, 2018 22:23
@nagem
Copy link
Contributor Author

nagem commented Feb 21, 2018

@gsfr How this affects the reaper:

If a reaper (or anything) sends a file to a container with the same filename:

  • If the file object is the same (via hash), the existing file object in the file system and in mongo is unchanged. The file update is ignored.
  • If the file object has a different hash, the existing file object is removed from Mongo and a new file is added to Mongo with metadata specified on that upload. All new jobs resulting from rules are run, as well as all old jobs that had this file as input.

Let me know if this is contrary to what you'd expect.

@gsfr gsfr removed request for ambrussimon and kofalt May 11, 2018 14:55
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.

Replacement of a file should trigger gear rule Possibly update created date, replace all file fields on file replace

2 participants