lbryio / lbry-sdk

The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
https://lbry.com
MIT License
7.2k stars 483 forks source link

WIP: Support multiple blob dirs and (optional) hierarchical structure within each blob dir #3725

Open moodyjon opened 1 year ago

moodyjon commented 1 year ago

Fixes #3704

Edit: Added unit test for blob_dirs in test_conf.py.

The idea here is that <data_dir>/blobfiles will continue to exist, but people can add more blob dirs using --blob-dirs. New blobs will be placed in the first dir of the list.

coveralls commented 1 year ago

Coverage Status

Coverage: 56.691% (+0.05%) from 56.642% when pulling 71dd10cdf64ac6c390dd255ba8820a18778f7f27 on moodyjon:blob_dirs into 6258651650f851190582be69c92cc476289c0bc8 on lbryio:master.