Task #2778 (closed)
Opened 9 years ago
Closed 9 years ago
Develop hook within `DeleteHandleI` after tx for deleting binary
| Reported by: | jamoore | Owned by: | cblackburn |
|---|---|---|---|
| Priority: | blocker | Milestone: | OMERO-Beta4.2.1 |
| Component: | Bin-Services | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2010-09-09 (16) |
Description
Some reasonable amount of time should be appropriated to trying to delete the binary data associated with a delete. This can only begin after the transaction is complete. Therefore, there will be no way to rollback the transaction. Instead, we will make some best effort to remove (or truncate) the binary files, and then if it is not successful, return a warning to the user.
Change History (12)
comment:1 Changed 9 years ago by cblackburn
- Owner set to cblackburn
- Status changed from new to assigned
comment:2 Changed 9 years ago by cblackburn
comment:3 Changed 9 years ago by cblackburn
comment:4 Changed 9 years ago by cblackburn
- Remaining Time changed from 0.5 to 2
comment:5 Changed 9 years ago by cblackburn
comment:6 Changed 9 years ago by cblackburn
- Sprint set to 2010-09-09 (16)
comment:7 Changed 9 years ago by jmoore
comment:8 Changed 9 years ago by cblackburn
comment:9 Changed 9 years ago by cxallan
- Priority changed from minor to blocker
comment:10 Changed 9 years ago by cblackburn
- Remaining Time changed from 2 to 0.5
Windows testing still to do. There is not yet a timeout on attempting deletes. A specific ticket should be opened on this if needed.
comment:11 Changed 9 years ago by cblackburn
comment:12 Changed 9 years ago by cblackburn
- Remaining Time changed from 0.5 to 0
- Resolution set to fixed
- Status changed from assigned to closed
All file deletes in place with tests added (See #2880).
(In [8061]) Hooks added which ry to delete files corresponding to deleted rows. See #2778