[tahoe-dev] [tahoe-lafs] #915: tahoe backup should trigger repair for unhealthy files

tahoe-lafs trac at allmydata.org
Mon Jan 18 22:43:09 UTC 2010


#915: tahoe backup should trigger repair for unhealthy files
---------------------------------------+------------------------------------
 Reporter:  davidsarah                 |           Owner:           
     Type:  defect                     |          Status:  new      
 Priority:  major                      |       Milestone:  undecided
Component:  code-frontend-cli          |         Version:  1.5.0    
 Keywords:  tahoe-backup preservation  |   Launchpad_bug:           
---------------------------------------+------------------------------------

Comment(by warner):

 Take a look at source:docs/backupdb.txt . Clients of the backupdb (like
 "tahoe backup") are required to eventually do a filecheck on the files
 that they skip uploading. It uses an age-since-last-check -based
 probability. The timer values are set such that all files will be checked
 at least every two months. If the check indicates unhealthy, the file is
 re-uploaded.

 It would probably be useful to make these timers configurable. Setting
 them to "zero" would give you the check-each-time behavior you'd like.
 source:src/allmydata/scripts/backupdb.py#L163 ({{{NO_CHECK_BEFORE}}} and
 {{{ALWAYS_CHECK_AFTER}}} in {{{BackupDB_v2}}}) are the values that would
 need configuring.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/915#comment:1>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list