Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5394 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: Disk Space

Reported by: jburel Owned by: jburel
Priority: minor Milestone: OMERO-Beta4.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: saloynton, jamoore, cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-02 (13)

Description

  • If logged in as root, the disk space usage is correctly displayed in the importer.
  • if logged in as a normal user, the free and use space values are not correct

Change History (6)

comment:1 Changed 13 years ago by jburel

  • Cc jmoore added

The following methods:

  • ome.logic.RepositoryInfoImpl.getUsageFraction
  • ome.logic.RepositoryInfoImpl.getUsedSpaceInKilobytes

throw the following error

omero.InternalException
    serverStackTrace = "ome.conditions.InternalException: This UNSAFE method has been deprecated. Server side functionality has been REMOVED.
                        	at ome.logic.RepositoryInfoImpl.getUsageFraction(RepositoryInfoImpl.java:192)

but never been marked as deprecated. Do we have a replacement?
This was used by importer to indicate the disk space available.

comment:2 Changed 13 years ago by jmoore

The only method I can find used is getFreeSpaceInKilobytes(). If the others throw an exception, they should definitely be marked deprecated.

comment:3 Changed 13 years ago by jburel

  • Cc cxallan added

comment:4 Changed 13 years ago by jburel <j.burel@…>

(In [fe48e733735ae3f4ff6dc4704a8620218ac2fd9e/ome.git] on branch develop) Remove unused method to retrieve disk space (see #5394)

comment:5 Changed 13 years ago by jburel

  • Status changed from new to accepted
  • Turn off the Disk space per user in insight since quota not implemented
  • in importer only display the free space.
  • prepare later on a usage view (similar to Web admin)

comment:6 Changed 13 years ago by jburel <j.burel@…>

  • Remaining Time changed from 0.15 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [184711a5dc94f60edc9e65579055e488fee11eef/ome.git] on branch develop) Remove Quota per user in metadata view and review space display in insight importer (close #5394)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.70620 sec.)

We're Hiring!