- 20 4月, 2015 30 次提交
-
-
When closing a node, the node itself only takes care of tearing down its own children. As corehttp sets up a server based on a node, it needs to also ensure that the server is accounted for when determining if the node has been fully closed.
由 Tor Arne Vestbø 提交于 -
The server may stay alive for quite a while due to waiting on open connections to close before shutting down. We should find ways to terminate these connections in a more controlled manner, but in the meantime it's helpful to be able to see why a shutdown of the ipfs daemon is taking so long.
由 Tor Arne Vestbø 提交于 -
This reverts commit f74e71f9. The 'Online' flag of the command context does not seem to be set in any code paths, at least not when running commands such as 'ipfs daemon' or 'ipfs ping'. The result after f74e71f9 is that we never shutdown cleanly, as we'll always os.Exit(0) from the interrupt handler. The os.Exit(0) itself is also dubious, as conceptually the interrupt handler should ask whatever is stalling to stop stalling, so that main() can return like normal. Exiting with -1 in error cases where the interrupt handler is unable to stop the stall is fine, but the normal case of interrupting cleanly should exit through main().
由 Tor Arne Vestbø 提交于 -
This commit includes a poor attempt at a changelog.
由 Juan Batiz-Benet 提交于 -
fsrepo migrations
由 Juan Batiz-Benet 提交于 -
The "daemon.lock" was really a repo.lock, as the cli also took it and the purpose was any process mutex. This is part of the 1-to-2 migration, and has already been handled in https://github.com/ipfs/fs-repo-migrations/tree/master/ipfs-1-to-2
由 Juan Batiz-Benet 提交于 -
Improved the repo migration errors to provide instructions to the user.
由 Juan Batiz-Benet 提交于 -
由 Jeromy 提交于
-
由 Jeromy 提交于
-
由 Jeromy 提交于
-
This changes .go-ipfs to .ipfs everywhere. And by the way this defines a DefaultPathName const for this name. License: MIT Signed-off-by:Christian Couder <chriscool@tuxfamily.org>
由 Christian Couder 提交于 -
由 Jeromy 提交于
-
由 Jeromy 提交于
-
由 Jeromy 提交于
-
WARNING: No migration performed! That needs to come in a separate commit, perhaps amended into this one. Migration must move keyspace "/b" from leveldb to the flatfs subdir, while removing the "b" prefix (keys should start with just "/").
由 Tommi Virtanen 提交于 -
由 Tommi Virtanen 提交于
-
This allows replacing the datastore without needing to write Close through to every wrapped datastore.
由 Tommi Virtanen 提交于 -
FSRepo.Open is dead since fdd1cd8d
由 Tommi Virtanen 提交于 -
由 Tommi Virtanen 提交于
-
由 Juan Batiz-Benet 提交于
-
- handle error on "/ipns/" - bounds-check, otherwise might cause a panic
由 Juan Batiz-Benet 提交于 -
cmds/add: silent error fix
由 Juan Batiz-Benet 提交于 -
Iss750
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
Move IPNS resolutions into the core library via the pathresolver.go file. Fix the CLI commands to leverage this core component.
由 gatesvp 提交于 -
remove debugerrors
由 Juan Batiz-Benet 提交于 -
We now consider debugerrors harmful: we've run into cases where debugerror.Wrap() hid valuable error information (err == io.EOF?). I've removed them from the main code, but left them in some tests. Go errors are lacking, but unfortunately, this isn't the solution. It is possible that debugerros.New or debugerrors.Errorf should remain still (i.e. only remove debugerrors.Wrap) but we don't use these errors often enough to keep.
由 Juan Batiz-Benet 提交于 -
fix pinning
由 Juan Batiz-Benet 提交于 -
由 Jeromy 提交于
-
This commit adds a new set of sharness tests for pinning, and addresses bugs that were pointed out by said tests. test/sharness: added more pinning tests Pinning is currently broken. See issue #1051. This commit introduces a few more pinning tests. These are by no means exhaustive, but definitely surface the present problems going on. I believe these tests are correct, but not sure. Pushing them as failing so that pinning is fixed in this PR. make pinning and merkledag.Get take contexts improve 'add' commands usage of pinning FIXUP: fix 'pin lists look good' ipfs-pin-stat simple script to help check pinning This is a simple shell script to help check pinning. We ought to strive towards making adding commands this easy. The http api is great and powerful, but our setup right now gets in the way. Perhaps we can clean up that area. updated t0081-repo-pinning - fixed a couple bugs with the tests - made it a bit clearer (still a lot going on) - the remaining tests are correct and highlight a problem with pinning. Namely, that recursive pinning is buggy. At least: towards the end of the test, $HASH_DIR4 and $HASH_FILE4 should be pinned indirectly, but they're not. And thus get gc-ed out. There may be other problems too. cc @whyrusleeping fix grep params for context deadline check fix bugs in pin and pin tests check for block local before checking recursive pin
由 Jeromy 提交于
-
- 19 4月, 2015 7 次提交
-
-
DOCS: Updated FUSE docs
由 Juan Batiz-Benet 提交于 -
Add additional link manipulation functions
由 Juan Batiz-Benet 提交于 -
Add hamming distance calculation to bloom filters
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
add more bitswap task workers
由 Juan Batiz-Benet 提交于 -
changed IPFS_TASK_WORKERS to IPFS_BITSWAP_TASK_WORKERS
由 Jeromy Johnson 提交于 -
由 Jeromy 提交于
-
- 17 4月, 2015 3 次提交
-
-
由 Jeromy 提交于
-
由 Jeromy 提交于
-
increase window size for yamux streams
由 Juan Batiz-Benet 提交于
-