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
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
comment:7 Changed 14 years ago by jmoore
- Cc cblackburn added
- Description modified (diff)
#1961 contains a portion of this, specifically for script param integration.