문제

we want to programmatically patch the access field of the Dataset and add an user. Patch semantics for array indicate override, so we need to provide the full contents of the access field. How do we avoid race conditions caused by read-modify-write? The API doesn't seem to provide conflict detection.

도움이 되었습니까?

해결책

There is currently no way to avoid race conditions caused by multiple users modifying the dataset acl simultaneously. In general, dataset acls change slowly enough that we haven't found this to be a problem. Patch semantics should, however protect you against simultaneous modification of other fields, such as the dataset description.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top