[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2285: multi backup error

Tahoe-LAFS trac at tahoe-lafs.org
Thu Aug 28 15:21:34 UTC 2014


#2285: multi backup error
-------------------------+-----------------------
     Reporter:  dawuud   |      Owner:  daira
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  1.10.0
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+-----------------------

Comment (by daira):

 Replying to [comment:3 zooko]:
 > I'll bet we could fix this simply by setting
 [https://www.sqlite.org/pragma.html#pragma_busy_timeout PRAGMA
 busy_timeout] to a large value (like 3000 milliseconds). This would, if I
 understand correctly, cause the second one of the `tahoe backup` processes
 that attempted to write to a table to block until the first one finished
 its write and committed the transaction.

 I think that's correct.

 > The only question I have is: how would we ''test'' a patch which made
 this change!

 I wouldn't mind having the test just check that the intended pragmas are
 set (it should also check the existing pragmas, which I don't think are
 currently tested).

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2285#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list