Task #3125 (closed)
Opened 14 years ago
Closed 14 years ago
BUG: deleting a Screen fails to delete binary data
Reported by: | cblackburn | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-Beta4.2.1 |
Component: | Bin-Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-10-28 (18) |
Description (last modified by cblackburn)
Deleting a Screen succeeds but only one Thumbnail and Pixels file (120 of each on disk, numbered 2-121) is deleted. two OriginalFiles? (4 on disk numbered 15-18) are deleted:
From the log it looks like only the last id is being returned per plate.
2010-10-18 10:10:33,663 INFO [ ome.services.blitz.impl.DeleteHandleI] (3-thread-1) Binary delete of OriginalFile for /Screen:1: [15, 16] 2010-10-18 10:10:33,664 INFO [ ome.services.blitz.impl.DeleteHandleI] (3-thread-1) Binary delete of Pixels for /Screen:1: [121] 2010-10-18 10:10:33,665 INFO [ ome.services.blitz.impl.DeleteHandleI] (3-thread-1) Binary delete of Thumbnail for /Screen:1: [31]
Also, there's an exception at the end of the log where one of the OriginalFiles? that has been deleted has an attempt made to update it.
Attachments (1)
Change History (7)
Changed 14 years ago by cblackburn
comment:1 Changed 14 years ago by jmoore
comment:2 Changed 14 years ago by jmoore
This is the first savepoint which doesn't get released:
2010-10-18 10:10:25,653 DEBUG [ ome.services.delete.DeleteState] (3-thread-1) Enter savepoint 2f4c12631fc542f2beabe5efcdf0c9f7: new depth=2 2010-10-18 10:10:25,653 DEBUG [ ome.services.delete.DeleteState] (3-thread-1) Enter savepoint 5ddd6fe7397e408c80e07df7cc1830a1: new depth=3 2010-10-18 10:10:25,653 DEBUG [ ome.services.delete.DeleteState] (3-thread-1) Enter savepoint 7a958f9294a94948b463ace41d1e68d0: new depth=4 2010-10-18 10:10:25,662 DEBUG [ ome.services.delete.DeleteState] (3-thread-1) Deleted 1 from Screen/ScreenPlateLink/Plate/Well/WellSample: root=1
comment:3 Changed 14 years ago by cblackburn
The binary delete part of this bug may be more general. See #3130
comment:4 Changed 14 years ago by jmoore
- Description modified (diff)
- Owner set to jmoore
- Remaining Time set to 1
- Status changed from new to assigned
comment:5 Changed 14 years ago by jmoore
comment:6 Changed 14 years ago by cblackburn
- Description modified (diff)
- Remaining Time changed from 1 to 0
- Resolution set to fixed
- Status changed from assigned to closed
The key binary data, Files, Pixels and Thumbnails is now successfully deleted.
Some small Files remain, see #3137
The issue seems to be a run-away depth++ somewhere. There's no way that the graph has depth >300: