Performance: Opening restricted file permissions and adding a user very slow for larger dataset, assignment list. #3450
Labels
Feature: Performance & Stability
Feature: Permissions
Type: Bug
a defect
User Role: Depositor
Creates datasets, uploads data, etc.
Reported by Sonia. Not sure yet whether this is an issue where a threshold was passed or intermittent.
As reported:
It's the MADICS dataset in Murray..I work with this often and I noticed right away how slow it was today...
navigate to MADICS, select "permissions-restricted files",---this is where a weird box shows up around permissions....it has 45 restricted files....permissions dialogue box finally pops up, i add name, comes up fine, i hit 'save" and adding takes much longer that expected. Again, I do this dataset often enough to observe this change.
As tested by me:
I was able to see slowness just accessing the dataset and opening restricted file permissions.
I'm wondering whether this is a growing list/ threshold issue: the algorithm is slow and we are now hitting a threshold on # of assigned users + # restricted files + determining permissions for display purposes at each step: listing files on dataset page, listing assigned users on permissions page. Not sure about the insert/add part. Adding took me 10 seconds or so.Removing took 30sec. Might there be an opportunity for lazy loading on this page? Seems like with all the info, it might be loading everything up front.
The text was updated successfully, but these errors were encountered: