Closed wkloucek closed 2 years ago
according to the cs3api spec https://github.com/cs3org/cs3apis/blob/main/cs3/storage/provider/v1beta1/provider_api.proto#L151-L158, locking a already locked file fails with CODE_FAILED_PRECONDITION. Since the file isn't unlocked at all, we also don't have any reason to lock it again after the upload
CODE_FAILED_PRECONDITION
according to the cs3api spec https://github.com/cs3org/cs3apis/blob/main/cs3/storage/provider/v1beta1/provider_api.proto#L151-L158, locking a already locked file fails with
CODE_FAILED_PRECONDITION
. Since the file isn't unlocked at all, we also don't have any reason to lock it again after the upload