You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently was able to spin up oCIS 7.0.1 (docker) with the new PosixFS. It's certainly an excellent addition overall. I tried to stress-test it by uploading thousands of files. While overall it handled them, it seems that creation of a new file in the parent directory (personal space) of the user triggers creation and deletion of .mlocks for ALL files, i.e. in this directory as well as in all child directories recursively. On the other hand, creation of a new folder in the parent directory only triggers creation and deletion of .mlocks in this directory itself.
I am not sure if this is a bug or whether this may belong better to the https://github.com/cs3org/reva repository, but it clearly is a very problematic behavior which leads oCIS to make the server busy for several minutes if you have thousands of files.
Steps to reproduce
Consider the following directory structure, with folders A and B containing files A1.txt and B1.txt, respectively.
Now create a new text file in the parent directory.
EDIT: It's worth noting that the same thing happens if you create files with web interface, or directly in the filesystem.
Expected behavior
The creation of .mlocks in the same folder is probably expected. The creation of .mlock for ALL files seems excessive.
Actual behavior
In actuality, there is the following "avalanche" of locks created:
The presented log files come from the docker logs. A separate issue seems to be that I am not able to disable them. They are there if if I set log level to warn or error. Is this expected?
The text was updated successfully, but these errors were encountered:
I've recently was able to spin up oCIS 7.0.1 (docker) with the new PosixFS. It's certainly an excellent addition overall. I tried to stress-test it by uploading thousands of files. While overall it handled them, it seems that creation of a new file in the parent directory (personal space) of the user triggers creation and deletion of
.mlock
s for ALL files, i.e. in this directory as well as in all child directories recursively. On the other hand, creation of a new folder in the parent directory only triggers creation and deletion of.mlock
s in this directory itself.I am not sure if this is a bug or whether this may belong better to the https://github.com/cs3org/reva repository, but it clearly is a very problematic behavior which leads oCIS to make the server busy for several minutes if you have thousands of files.
Steps to reproduce
Consider the following directory structure, with folders A and B containing files A1.txt and B1.txt, respectively.
Now create a new text file in the parent directory.
EDIT: It's worth noting that the same thing happens if you create files with web interface, or directly in the filesystem.
Expected behavior
The creation of
.mlock
s in the same folder is probably expected. The creation of.mlock
for ALL files seems excessive.Actual behavior
In actuality, there is the following "avalanche" of locks created:
Now, if I create a New Folder in the parent directory, the behavior is more reasonable:
Similarly, if I create a file in the A dir, there are no locks in the B dir.
Overall, this behavior is a big problem if you have thousands of files.
Setup
I use the docker-compose.yml presented below.
Additional considerations
The presented log files come from the docker logs. A separate issue seems to be that I am not able to disable them. They are there if if I set log level to warn or error. Is this expected?
The text was updated successfully, but these errors were encountered: