Ticket #1199 (closed defect: moved)

Opened 7 years ago

Last modified 5 years ago

Teach the updater to resume interrupted updates

Reported by: dscho Owned by: dscho
Priority: minor Milestone: imagej2-b8-analysis
Component: Updater Version:
Severity: minor Keywords:
Cc: Blocked By:
Blocking: #1347

Description

When an update is interrupted, the update/ directory is still in place. The Updater therefore would refuse to launch wihtout a restart, and -- what is worse -- a restart of ImageJ would copy the (possibly incomplete) files into place.

Teach the Updater to detect when an update was interrupted and re-checksum the downloaded files, delete the incomplete ones, and continue.

Teach the launcher to ignore incomplete update/ directories (best bet: use a different name until the update is done, similar to the common file system-based locking pattern we already apply for db.xml.gz when uploading).

Change History

comment:1 Changed 7 years ago by dscho

  • Status changed from new to accepted

comment:2 Changed 7 years ago by dscho

  • Blocking 1347 added

comment:3 Changed 7 years ago by dscho

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

Pushing to beta5; this is really not top-priority right now.

comment:4 Changed 6 years ago by curtis

  • Component changed from ij-core to ij-updater

comment:5 Changed 6 years ago by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:6 Changed 5 years ago by curtis

  • Status changed from accepted to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.