[tahoe-lafs-trac-stream] [tahoe-lafs] #666: Accounting: limit storage space used by different parties

tahoe-lafs trac at tahoe-lafs.org
Sat Sep 29 12:52:10 UTC 2012


#666: Accounting: limit storage space used by different parties
------------------------------+------------------------
     Reporter:  warner        |      Owner:
         Type:  task          |     Status:  new
     Priority:  major         |  Milestone:  2.0.0
    Component:  code-storage  |    Version:  1.3.0
   Resolution:                |   Keywords:  accounting
Launchpad Bug:                |
------------------------------+------------------------

Comment (by zooko):

 It would be simpler, and probably just as efficient, to call sqlite's
 {{{self._db.commit()}}} method every time instead of maintaining a dirty
 flag in a member variable and calling {{{self._db.commit()}}} only when
 that flag is True. Maintaining that flag gives us opportunities to write
 bugs, and also it adds load to reviewers -- I don't understand why there
 is an {{{always}}} option and why it is used from the history writer. If
 we always just call {{{self._db.commit()}}} then I as a reviewer wouldn't
 have to wonder about that and would have more cognitive bandwidth leftover
 to look for other issues.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/666#comment:8>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


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