[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2423: User Quota

Tahoe-LAFS trac at tahoe-lafs.org
Sat May 16 10:39:01 UTC 2015


#2423: User Quota
---------------------------+---------------------------
 Reporter:  communitycube  |          Owner:  daira
     Type:  enhancement    |         Status:  new
 Priority:  normal         |      Milestone:  undecided
Component:  unknown        |        Version:  1.10.0
 Keywords:                 |  Launchpad Bug:
---------------------------+---------------------------
 In certain networks can be usefull to not allow users upload, more files
 than the space that they're sharing.


 Quota management will be handled by the StorageClient, which imposes the
 limits on what can be uploaded to the grid. When a file is to be uploaded,
 the StorageClient:

 1- Checks that the storage server is running and writable

 2- Calculates the space it is sharing in the associated storage server.

   a- Available disk space

   b- Reserved disk space (minimum free space to be reserved)

   c- Size of stored shares

 3- The size of leases it holds on files stored on grid (requires a catalog
 of uploaded files and lease expiration/renewal tracking).

 4- Estimates the assigned space as 'Sharing space (available + stored
 shares)'

 5- Checks that Used space (i.e. sum of leases) is smaller than 'Sharing
 space'.

 6- Retrieve the grid's “X out K” parameters used in erasure encoding.

 7- Verifies that predicted used space and reports an error if the
 available quota is exceeded.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2423>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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