Skip to content

Version overwrite on simultaneous write of same version #125

@jgerardsimcock

Description

@jgerardsimcock

If two users are trying to write to the same archive at the same time, two versions with the same version number will be uploaded to the manager. These two versions will point to the same path in the fs and the last closed file will be the object associated with that version.

{'_id': 'big climate data', 'versions': [ '1.0.0', 'dependencies': [('arch1','1.0.1')], '1.1.0', 'dependencies': [('arch1', '1.1.0'), ('arch2', '1.0.0'), '1.1.0', 'dependencies': [('arch1','1.0.1')]

In this case, the manager will reflect both version 1.1.0 entries but datafs will pull the last entry, not reflecting the earlier dependency update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions