[tahoe-lafs-trac-stream] [tahoe-lafs] #1836: stop crawling share files in order to figure out how many shares you have

tahoe-lafs trac at tahoe-lafs.org
Tue Oct 30 23:12:45 UTC 2012


#1836: stop crawling share files in order to figure out how many shares you have
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  code-    |    Version:  1.9.2
  storage                |   Keywords:  leases garbage-collection
   Resolution:           |  accounting
Launchpad Bug:           |
-------------------------+-------------------------------------------------
Description changed by zooko:

Old description:

> In current trunk, there is a "BucketCountingCrawler" whose job it is to
> count up how many shares are stored.
>
> I propose that this be replaced by using the leasedb to count files (a
> simple SQL COUNT query!), and at the same time to extend the storage
> server's abilities by letting it be able to add up the aggregate sizes of
> things as well as their number.
>
>  This is part of an "overarching ticket" to eliminate most uses of
> crawler — ticket #1834.

New description:

 In current trunk, there is a "BucketCountingCrawler" whose job it is to
 count up how many shares are stored.

 I propose that this be replaced by using the leasedb to count files (a
 simple SQL COUNT query!), and at the same time to extend the storage
 server's abilities by letting it be able to add up the aggregate sizes of
 things as well as their number.

 This is part of an "overarching ticket" to eliminate most uses of crawler
 — ticket #1834.

--

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


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