Opened at 2012-10-30T23:12:32Z
Last modified at 2020-10-30T12:35:44Z
#1836 closed defect
stop crawling share files in order to figure out how many shares you have — at Initial Version
Reported by: | zooko | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.15.0 |
Component: | code-storage | Version: | 1.9.2 |
Keywords: | leases garbage-collection test-needed accounting | Cc: | |
Launchpad Bug: |
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.
Note: See
TracTickets for help on using
tickets.