Skip to content

Automatic sharding of big directories #7022

Closed
@Stebalien

Description

@Stebalien

This is a tracking issue for the sharded directory feature. This feature can be enabled with:

> ipfs config --json Experimental.ShardingEnable true

TODOs:

  • Make sure we don't shard too soon. At the moment, the cutoff to start sharding is very low.
  • Ideally, avoid creating sharded directories thar are too "deep". However, this may be tricky to do without breaking changes.

Ideally, we'd fix this issue by switching to unixfs 2.0 and a generalized sharded map implementation. However, that's probably not going to happen in the near future and this feature is used widely enough that we'll likely have to stabilize it in its current form.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions