We were running the system with a networked file storage device storing the raw bag data. We uploaded a bunch of bags with the wrong permissions, and we noticed that the system was very, very slow to deal with this. It looks like the updateBagFile function correctly checks if a file is readable before attempting to manipulate the file, so I wonder if there's something else earlier in the system that's causing this slowdown.
We were running the system with a networked file storage device storing the raw bag data. We uploaded a bunch of bags with the wrong permissions, and we noticed that the system was very, very slow to deal with this. It looks like the
updateBagFile
function correctly checks if a file is readable before attempting to manipulate the file, so I wonder if there's something else earlier in the system that's causing this slowdown.