Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinning a folder with a large number of files times out. #2238

Closed
MarcelInTO opened this issue Aug 24, 2022 · 1 comment
Closed

Pinning a folder with a large number of files times out. #2238

MarcelInTO opened this issue Aug 24, 2022 · 1 comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@MarcelInTO
Copy link

  • OS: Windows
  • Version of IPFS Desktop: 2.15.1

I have relatively large tree of files (QmbaRnTcc4qKKuoJ31aooZApoDMNJwahYoSKxBctFmu5Rg). There are about 220,000 files organized into 220 folders with 1000 files each.

I wish to pin it.

Running the pin command on the top level folder will go away for a relatively short time and then terminate with a message indicating the operation has timed out. I can pin the individual subdirectories (of 1000 files each) OK, but it would be tedious. The interface does not allow me to select multiple directories to pin at once.

Using the CLI, I can perform "c:ipfs --api=/ip4/127.0.0.1/tcp/5001 pin add --progress --recursive QmbaRnTcc4qKKuoJ31aooZApoDMNJwahYoSKxBctFmu5Rg" and while iseems very slow and takes a long time, it does not time out.

Expected behavior
I am pinning a large number of files and expect the operation to take a long time. I do not want the operation to time out in an arbitrary amount of time. If the operation is working correclty, I would like it to finish the requested task (preferably with some progress indicator like the CLI can give me).

@MarcelInTO MarcelInTO added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Aug 24, 2022
@MarcelInTO MarcelInTO changed the title Locking a folder with a large number of files times out. Pinning a folder with a large number of files times out. Aug 24, 2022
@hacdias
Copy link
Member

hacdias commented Sep 1, 2022

Duplicate of ipfs/ipfs-webui#1991

@hacdias hacdias marked this as a duplicate of ipfs/ipfs-webui#1991 Sep 1, 2022
@hacdias hacdias closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants