[tahoe-lafs-trac-stream] [tahoe-lafs] #1836: use leasedb (not crawler) to figure out how many shares you have and how many bytes
tahoe-lafs
trac at tahoe-lafs.org
Thu Jul 4 16:23:57 UTC 2013
#1836: use leasedb (not crawler) to figure out how many shares you have and how
many bytes
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: davidsarah
Type: defect | Status: assigned
Priority: normal | Milestone: undecided
Component: code- | Version: 1.9.2
storage | Keywords: leases garbage-collection
Resolution: | accounting
Launchpad Bug: |
-------------------------+-------------------------------------------------
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.
--
Comment (by zooko):
After talking with markberger today, I realized that #1818 is the ticket
to merge leasedb into trunk, and #1819 is the superceding ticket to merge
leasedb+cloud-backend into trunk.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1836#comment:10>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list