swri-robotics / bag-database

A server that catalogs bag files and provides a web-based UI for accessing them.
Other
342 stars 71 forks source link

Bad File Permissions Make Scanning Slow #202

Open danthony06 opened 1 year ago

danthony06 commented 1 year ago

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.