From d4570e27ae7ad6e9ef17bc2525ea4ca5b2bd342a Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 27 Apr 2020 00:11:38 +0200 Subject: [PATCH] docs: note that ShardingEnabled is a global flag People may assume that HAMT gets enabled only for directories over some arbitrary threshold. This is not the case. Right now it is a global setting which will impact the final CID of all directories produced by ipfs.add. --- docs/experimental-features.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/experimental-features.md b/docs/experimental-features.md index 3d54b9cb7..415a308bb 100644 --- a/docs/experimental-features.md +++ b/docs/experimental-features.md @@ -545,8 +545,11 @@ You can read more in the [datastore](./datastores.md#badgerds) documentation. ### State Experimental -Allows creating directories with an unlimited number of entries - currently -size of unixfs directories is limited by the maximum block size +Allows creating directories with an unlimited number of entries. + +**Caveats:** +1. right now it is a GLOBAL FLAG which will impact the final CID of all directories produced by `ipfs.add` (even the small ones) +2. currently size of unixfs directories is limited by the maximum block size ### Basic Usage: