Task #5515 (closed)
Opened 13 years ago
Closed 12 years ago
BUG: Deleting of images under windows does not remove pixels binary data from omero/pixels folder
Reported by: | bwzloranger | Owned by: | cblackburn |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, cxallan, jamoore, cblackburn |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
(as above).. blitz message says 'warning: 1 file(s) comprising XXX bytes were not removed' This ticket blocks test: #5506
Attachments (3)
Change History (19)
comment:1 Changed 13 years ago by jmoore
- Cc jmoore added
- Component changed from General to Services
- Owner changed from jmoore to bwzloranger
- Remaining Time set to 1.0
comment:2 Changed 13 years ago by bwzloranger
- Summary changed from Deleting of images under windows does not remove pixels binary data from omero/pixels folder to BUG: Deleting of images under windows does not remove pixels binary data from omero/pixels folder
Changed 13 years ago by bwzloranger
comment:3 Changed 13 years ago by jmoore
Brian, there's nothing more in your log other than the line you pointed out (unfortunately). Can you please reproduce and give me the exact steps. Thanks.
comment:4 Changed 13 years ago by jmoore
If this was pixels 101, then the following might explain at least one scenario:
~/Downloads/5515/Logs $ grep 101 Blitz-0.log ... 2011-05-24 11:09:43,892 INFO [ ome.services.pixeldata.PixelDataThread] (2-thread-2) Creating PIXELDATA event for pixels id:101 2011-05-24 11:09:43,907 INFO [ ome.io.nio.PixelsService] (l.Server-1) Missing pyramid:c:\OMERO\Pixels\101_pyramid 2011-05-24 11:09:44,610 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Args: [class ome.model.core.Image, (101), (), (), ome.parameters.Parameters@aafeff] 2011-05-24 11:09:44,657 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Rslt: {101=(ome.model.annotations.FileAnnotation:Id_151)} 2011-05-24 11:09:44,704 INFO [ ome.services.util.ServiceHandler] (l.Server-4) Args: [101] 2011-05-24 11:09:44,751 INFO [ ome.services.util.ServiceHandler] (l.Server-4) Rslt: ome.model.core.Pixels:Id_101 2011-05-24 11:09:44,767 INFO [ ome.services.util.ServiceHandler] (l.Server-8) Args: [101, 0] 2011-05-24 11:09:44,782 INFO [ ome.services.util.ServiceHandler] (l.Server-8) Rslt: (ome.model.display.RenderingDef:Id_101) 2011-05-24 11:09:44,954 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Rslt: {102=[-1, -40, -1, ... 1 more], 103=[-1, -40, -1, ... 1 more], 101=[-1, -40, -1, ... 1 more], ... 1 more} 2011-05-24 11:09:52,563 INFO [ ome.services.blitz.impl.DeleteHandleI] (3-thread-5) Deleting /Image:101 ... This leads to the warning ... ~/Downloads/5515/Logs $ grep 101 PixelData-0.log 2011-05-24 10:25:41,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x1x0 2011-05-24 10:25:43,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x1x0 2011-05-24 10:26:49,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x1x0 2011-05-24 10:28:31,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x2x0 2011-05-24 10:28:43,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x2x0 2011-05-24 10:28:46,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x2x0 2011-05-24 10:29:35,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x2x0 2011-05-24 10:30:07,101 INFO [ ome.io.nio.RomioPixelBuffer] (3-thread-1) Retrieving plane: 0x2x0 2011-05-24 11:09:45,485 INFO [e.io.bioformats.OmeroPixelsPyramidWriter] (3-thread-3) setId(c:\OMERO\Pixels\.101_pyramid7646151252646832883.tmp) 2011-05-24 11:13:31,240 INFO [ ome.io.nio.PixelsService] (3-thread-3) SUCCESS -- Pyramid created for pixels id:101 2011-05-24 11:13:31,240 INFO [e.io.bioformats.OmeroPixelsPyramidWriter] (3-thread-3) close(c:\OMERO\Pixels\.101_pyramid7646151252646832883.tmp)
comment:5 Changed 13 years ago by atarkowska
I got the same problem on Windows test box Delete image 30 Finished 0 error(s) ( Warning: 1file(s) comprising 327680 bytes were not removed.). After a while I refreshed status and it was vanished. It seams that file was deleted successfully.
comment:6 Changed 13 years ago by atarkowska
You can reproduce it by:
- import set of 011B1_Morph_A01_s*_w*.TIF and 011B1_Morph_P01_s*_w*.TIF (I store them in dataset called Morph and was importing them with 'Folder As Dataset')
- view thumbnails
- delete orphaned dataset with images and annotations.
In web if you quickly go to STATUS this message is for next minute or less.
comment:7 Changed 13 years ago by cblackburn
- Cc cblackburn added
comment:8 Changed 13 years ago by bwzloranger
This bug seems reproducible under the following conditions:
1) Start windows server
2) Import *.dv from test_images_good\dv
3) In insight, select all images and hit the 'delete' key. Apply delete to all images and attachments.
4) Review pixels in omero\pixels directory - one file remains!
Consistently, the last image in the set will not be deleted and several 'warning: 1file(s) comprising XXX bytes were not removed.' messages appear in the blitz log. (Although it seems all but the last file does get removed).
comment:9 Changed 13 years ago by bwzloranger
I've attached my lastest blitz log from the test above.
Changed 13 years ago by bwzloranger
comment:10 Changed 13 years ago by bwzloranger
- Owner changed from bwzloranger to cblackburn
Changed 13 years ago by bwzloranger
comment:11 Changed 13 years ago by bwzloranger
Latest blitz results for Colin
comment:12 Changed 13 years ago by jburel
- Sprint changed from 2011-06-02 (13) to 2011-06-16 (14)
Moved from sprint 2011-06-02 (13)
comment:13 Changed 13 years ago by cblackburn
- Priority changed from blocker to major
Downgrading priority. This is a known issue on Windows. However, it does demand further investigation.
comment:14 Changed 13 years ago by jburel
- Milestone changed from OMERO-Beta4.3 to OMERO-Beta4.3.1
- Sprint changed from 2011-06-16 (14) to 2011-06-30 (1)
Moved from sprint 2011-06-16 (14)
comment:15 Changed 13 years ago by cblackburn
- Milestone changed from OMERO-Beta4.3.1 to Unscheduled
- Remaining Time 1.0 deleted
- Sprint 2011-07-07 (1) deleted
comment:16 Changed 12 years ago by cblackburn
- Resolution set to wontfix
- Status changed from new to closed
In reviewing my bugs I think this one needs to be closed as wontfix (as a bug at least). It's a known limitation of Windows and is documented on the Known Limitations page and on the trac at wiki:Delete#BinaryData There may well be a case for a new Story to look at Windows deletes as they affect more areas than just the Delete Service.
Brian, can you attach the log files please?