Repository navigation
Conversation
somaz94
marked this pull request as ready for review
October 16, 2026 05:42
somaz94
added a commit
to somaz94/somaz94
that referenced
this pull request
Oct 16, 2026
Author
|
Hi @lidel, this has been open for about a month and the workflow runs expired before anyone approved them. Could a maintainer approve a fresh run when you have a chance? It makes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
Experimental.FilestoreEnabledorExperimental.UrlstoreEnabledis turned on withipfs configwhile the daemon is running,ipfs add --nocopypasses the config check incore/coreapi/unixfs.go, but the node still uses the blockstore it was built with, so the data is copied into the blockstore without any error. The repo only creates itsFileManagerwhen one of these options is set at open time, which is the same conditioncore/node/groups.gouses to wire the filestore blockstore, soaddnow returns an error asking for a daemon restart when--nocopyis set andFileManager()is nil.This only covers
--nocopy, the case reported in the issue. The broaderRequiresRestartidea from the issue discussion is left out to keep the change small.The new
TestAddsubtest enables the filestore withipfs configon a running daemon, checks thatadd --nocopyfails, then restarts the daemon and checks that the file shows up inipfs filestore ls. It fails on master because the add succeeds, and passes with this change.TestAdd,go test ./core/coreapi/... ./client/rpc/...andgolangci-linton the changed packages pass locally. There is also a short Highlights entry indocs/changelogs/v0.44.md.References