noobaa-core
noobaa-core copied to clipboard
NSFS | Versioning - in multipart upload version id order should be calculated based on creation time rather than completion time
Is your feature request related to a problem? Please describe. see https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#distributedmpupload for multipart upload version_id order should be determined by creation time rather than completion time as we do today Describe the solution you'd like instead of putting always the new upload as the latest version we need to - Set the mtime of the composed file to be the creation time of the multipart upload file or put the timestamp inside the file Check the latest version mtime and compare it to the mtime of the init mpu and decide if to put it as the latest version or inside .versions/