@cryptotaxi247 / kubo / commits / db3abf3de

Added sharding to experimental features

Not sure about "Road to being a real feature" and also would like to have clarified when this is being used. My understanding is that it'll shard automatically both when using the Files API and also when doing `ipfs add -r` but I'm not 100% about this. License: MIT Signed-off-by: Victor Bjelkholm <victorbjelkholm@gmail.com>

ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ committed Jan 9, 2018 at 14:30 UTC db3abf3de5c8fc835803f3e605d4145244ec4178
1 file changed +22
docs/experimental-features.md
+22
@@ -343,3 +343,25 @@ See [Plugin docs](./plugins.md)
343
344 - [ ] Needs more testing
345 - [ ] Make sure there are no unknown major problems
346 +
347 +## Directory Sharding / HAMT
348 +
349 +### In Version
350 +0.4.8
351 +
352 +### State
353 +Experimental
354 +
355 +Allows to create directories with unlimited number of entries - currently
356 +size of unixfs directories is limited by the maximum block size
357 +
358 +### Basic Usage:
359 +
360 +```
361 +ipfs config --json Experimental.ShardingEnabled true
362 +```
363 +
364 +### Road to being a real feature
365 +
366 +- [ ] Make sure that objects that don't have to be sharded aren't
367 +- [ ] Generalize sharding and define a new layer between IPLD and IPFS