Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1644

After importing a project User occupied disk space is still 0.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: None
    • Labels:
      None

      Description

      Right now we keep the user occupied space as a cached value in the Users table, and theoretically we update that when needed. Obviously not in all the right places.

      We could make a sum for all the projects the current user has access to and use the computed value.

      !!!!But before going with this non-chached implementation, we should have a short review of the places where this number is used and how much it affects performance to sum it every time. Alternatively, we could simply add the disk occupied by a newly imported project to the User property.

      Attached is a screen with the user occupied disk-size after removing one of the imported projects.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              lia.domide Lia Domide
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d