Bug #9275

Repository directory size check present when editing archival descriptions

Added by Mike Gale over 6 years ago. Updated almost 6 years ago.

Status:VerifiedStart date:01/06/2016
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:Repository
Target version:Release 2.3.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

When editing archival descriptions that have a repository set in them, on the left sidebar it shows the repository logo (OK), as well as the current space used / max allowed for that repository's uploads (not OK).

There is no reason to show the space used data on the sidebar for archival descriptions, and it creates two potential performance issues:
  • Additional permissions check to see if the user is an admin / is allowed to see the space used info
  • The space used check will check the directory in real time for its total size. This creates a huge performance issue (and even timeouts) when the repository has dozens of GB worth of files in it (thus making the space used check very slow). This is the same issue as described in 6087.

We should remove this information when editing archival descriptions to improve performance.


Related issues

Related to AtoM Wishlist - Feature #6087: Improve the upload calculation widget in Admin > Settings... New 12/05/2013
Related to Access to Memory (AtoM) - Feature #9674: Disable disk usage check when site upload limit is set to... Verified 04/07/2016

History

#1 Updated by Mike Gale over 6 years ago

  • Related to Feature #6087: Improve the upload calculation widget in Admin > Settings so it will not time out when checking large disks added

#3 Updated by Mike Gale about 6 years ago

  • Status changed from New to Code Review
  • Assignee changed from Mike Gale to José Raddaoui Marín

#5 Updated by Mike Gale about 6 years ago

  • Status changed from Code Review to QA/Review
  • Assignee changed from José Raddaoui Marín to Dan Gillean

#6 Updated by Evelyn McLellan almost 6 years ago

  • Status changed from QA/Review to Verified

#7 Updated by Dan Gillean almost 6 years ago

  • Related to Feature #9674: Disable disk usage check when site upload limit is set to unlimited added

Also available in: Atom PDF