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 #1501 (assigned)

Opened 15 years ago

Last modified 14 years ago

RawFileStore et al. should keep size in sync — at Version 7

Reported by: jamoore Owned by: jmoore
Priority: critical Milestone: OMERO-Beta4.2
Component: General Version: 3.0-M1
Keywords: n.a. Cc: jburel, cxallan, cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.25d
Sprint: 2010-04-02 (6)

Description (last modified by jmoore)

I had an interesting problem while working on the scripting engine: I attempt to hack a file under /OMERO/Files leaving it a bit larger than the size in the table. This caused all downloads to fail, since the length was taken from the database.

We should probably include some sanity checks in preparation for multiple repositories.

Possibilities:

  • on setFileId check the the size and timestamp for discrepancies

Change History (7)

comment:1 Changed 14 years ago by cxallan

  • Priority changed from minor to critical

comment:2 Changed 14 years ago by jmoore

#1961 contains a portion of this, specifically for script param integration.

comment:3 Changed 14 years ago by jmoore

  • Sprint set to 2010-04-02 (6)

See #2095

comment:4 Changed 14 years ago by jmoore

  • Remaining Time set to 0.25

comment:5 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:6 Changed 14 years ago by jmoore

(In [6568]) fix #1961, see #1501 - Adding save to RFS.close

This commit checks both the size and the sha1 of
file objects on RawFileStore.close(). This
adds an EventLog and therefore kicks off indexing
(see #2098)

comment:7 Changed 14 years ago by jmoore

  • Cc cblackburn added
  • Description modified (diff)
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.69485 sec.)

We're Hiring!