Skip to content

Add a Rename method? #100

@kevina

Description

@kevina

The migration of the blockstore to multihashs only is going to require a massive renaming off a large number of keys. At least for the flatfs datastore, an important optimization is to rename the file rather than remove and insert a new key. The last time we did such a rename (ipfs/fs-repo-migrations#39) we only had a single datastore config using flatfs so we special cased it. Now things are more complicated with badgerds this will be more difficult.

Is it worth it to provide a Rename method?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions