Closed glpatcern closed 4 years ago
This is pending a fix on eos as the race with
Edit: independently from the ongoing fix, the proper fix here is to not use O_EXCL
is not correctly handled there.atomic
writes together with O_EXCL
as an atomic would always create a new unique filename, and it's only at close time that the operation fails, not at open.
This is merged as tests are passing, though we're going to execute further stress tests.
To be noted that until https://github.com/cs3org/cs3apis/pull/87 is completed and implemented in Reva, atomic uploads do NOT work with Reva and the test suite consistently fails.
This is to better support lock operations in the
/wopi/cbox/lock
and/wopi/cbox/unlock
WOPI extensions.Work to do:
cboxLock()
call to make use of this call as opposed tostat
andwrite
, which is not atomic and prone to race conditions.