[tahoe-lafs-trac-stream] [tahoe-lafs] #1384: use storage/shares/ instead of storage/ to detect available space
tahoe-lafs
trac at tahoe-lafs.org
Mon Jul 18 20:40:27 PDT 2011
#1384: use storage/shares/ instead of storage/ to detect available space
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: davidsarah
Type: defect | Status: assigned
Priority: minor | Milestone: 1.9.0
Component: code- | Version: 1.8.2
nodeadmin | Keywords: usability configuration defaults
Resolution: | storage review-needed test-needed
Launchpad Bug: |
-------------------------+-------------------------------------------------
Changes (by davidsarah):
* keywords: usability configuration defaults storage review-needed =>
usability configuration defaults storage review-needed test-needed
Comment:
We could, and probably should, test this by mocking
{{{fileutil.get_disk_stats}}}, and checking that the server reports the
correct space and accepts/refuses immutable shares correctly.
({{{fileutil.get_available_space}}} is implemented in terms of
{{{file.get_disk_stats}}}, so it's only necessary to mock the latter.)
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1384#comment:3>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list