-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Make ipfs repo fsck a no-op. #6435
Comments
Chiming in to say that removing lock files isn't the first thing I think of when I think of If the current default behavior deletes without prompt, and can be labeled "dangerous", that seems like it should change. |
So, I'm actually just going to try to go ahead and fix #5784 so we can completely deprecate this command. |
This command is no longer necessary and is quite dangerous: 1. All lockfiles are now released by the OS when the daemon stops. 2. The API file is ignored when (a) the repo is initialized and (b) daemon is off. fixes #6435
This command is no longer necessary and is quite dangerous: 1. All lockfiles are now released by the OS when the daemon stops. 2. The API file is ignored when (a) the repo is initialized and (b) daemon is off. fixes #6435
This command is no longer necessary and is quite dangerous: 1. All lockfiles are now released by the OS when the daemon stops. 2. The API file is ignored when (a) the repo is initialized and (b) daemon is off. fixes ipfs#6435
Both the repo and the leveldb datastore use proper file locking on all platforms users should never need to call
ipfs repo fsck
. Unfortunately, this command can be rather dangerous (#6363).The only semi-useful thing it does is remove the API file. Any objections to at least gimping this command so it only does that? @magik6k?
The text was updated successfully, but these errors were encountered: