Task #5083 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: Pyramid creation has a race condition
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | mlinkert, jburel, cxallan |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-05-19 (12) |
Description
While one process/thread is writing a pyramid file, another file may access it for reading as opposed to getting a MissingPyramidException. Read access will need to block (with a time limit?) until writing is finished.
Note: for this to work, we will need to close the writer even if the main thread continues reading the file to allow other threads to read.
Change History (7)
comment:1 Changed 13 years ago by jmoore
- Status changed from new to accepted
comment:2 Changed 13 years ago by jmoore
- Owner jmoore deleted
- Status changed from accepted to new
comment:3 Changed 13 years ago by jmoore
- Owner set to jmoore
comment:4 Changed 13 years ago by jburel
- Sprint changed from 2011-05-05 (11) to 2011-05-19 (12)
comment:5 Changed 13 years ago by jmoore <josh@…>
(In [bdce6323c6a88fc8fa6427c686834527ff51e07f/ome.git] on branch develop) Writing pyramids as a temp file then moving (See #5083)
comment:6 Changed 13 years ago by jmoore <josh@…>
(In [5ebf06f4ebe11ec173e19bdfa85525e1ed17000b/ome.git] on branch develop) Pyramid pixel buffer defaults and exceptions while in write mode (See #5083)
comment:7 Changed 13 years ago by jmoore <josh@…>
- Remaining Time changed from 0.5 to 0
- Resolution set to fixed
- Status changed from new to closed
(In [e1a289c7c91566800b761ee3273abfc5c15a659b/ome.git] on branch develop) Merge branch 'feature/5083-race' into develop (Fix #5083)
Moved from sprint 2011-05-05 (11)