]> git.arvados.org - arvados.git/commit
18078: Reacquire llfuse lock before populating collection directory
authorPeter Amstutz <peter.amstutz@curii.com>
Thu, 2 Sep 2021 15:20:12 +0000 (11:20 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 2 Sep 2021 15:20:12 +0000 (11:20 -0400)
commit025e6f91c13bdeb78585ce2c7a6d70c532eb8d7b
tree554b48db68536de06e4d0abbe349a9d9b233720b
parent2c2153daa103c35fe12468a853636f8125785a7e
18078: Reacquire llfuse lock before populating collection directory

Updates the test for generating "conflict" files.

I don't have a test case for the reported bug, however this is the
only place I could find where _entries was being modified without the
lock held.  By reacquiring the lock, it should no longer be possible
to read _entries at the same time as it is being updated.

Also clean up a few "from future" bits that are no longer needed
because we're python 3 only.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
services/fuse/arvados_fuse/fusedir.py
services/fuse/tests/test_mount.py