Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4672 closed Enhancement (invalid)

resetCache (Verify Data) if Transmission was improperly shutdown.

Reported by: demosdemon Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.42
Severity: Normal Keywords:
Cc:

Description

Things happen, bug exist, and users do stupid things. A greatly needed feature is to intelligently verify the data file(s) for active downloads if the last run of Transmission wasn't safely shutdown. The history may not have the correct amount of verified pieces, the filesystem may have corrupted data, or something else wildly may have happened.

I say intelligently because it shouldn't be necessary to verify stalled, queued, or finished downloads as the likelihood of data changing since the last update to the history, assuming that the history file is periodically updated during the lifetime of the process, is nil.

Also, an aside enhancement that probably should be in another ticket, is to rotate a backup of the history file in case an error happens during write of the history. That way there is minimal data loss in the event of such and error.

Change History (3)

comment:1 Changed 9 years ago by cfpp2p

There already is method of dealing with improper shutdown, as the resume files are updated when pieces verified. A few pieces may be lost on improper shutdown but for me re-verify entire downloads for perhaps just a few lost pieces would involve more processing time than just to re-download those few lost pieces, and code to allow intelligently verify could get bloated.

comment:2 Changed 9 years ago by jordan

  • Resolution set to invalid
  • Status changed from new to closed

cfpp2p summed it up pretty well :)

comment:3 Changed 9 years ago by LordOfTheBugs

Hmm, can't it be solved by re-verification of whole file when download finished? Most torrent clients have such option to deal with this issue. Maybe I should create such ticket?

Note: See TracTickets for help on using tickets.