Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-26278

Investigate situation of deleting and adding to the same butler collection simultaneously

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Team:
      Ops Middleware
    • Urgent?:
      No

      Description

      In DM-25818 we changed datastore.put such that it overwrites existing files. This assumes that registry knows what is going on.

      In the ticket the possibility was raised that a dataset could be trashed (which does not delete the file) and another file with the same dataId be put simultaneously. These would share the same filename but different dataset_id and results in the possibility of one process writing the new file just before emptyTrash is called deleting what it thinks is the old file.

      A suggestion was to include the dataset_id in the file name.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tjenness Tim Jenness
              Watchers:
              Jim Bosch, Kian-Tat Lim, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.