#1836 closed defect

stop crawling share files in order to figure out how many shares you have — at Version 1

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 (last modified by zooko)

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.

Change History (1)

comment:1 Changed at 2012-10-30T23:12:45Z by zooko

  • Description modified (diff)
Note: See TracTickets for help on using tickets.