Kevin Atkinson
96f8c17b0f
gc: return Result instead of two channels
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
c709113257
gc: add sharness test script
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Kevin Atkinson
d7fa05a707
gc: join multiple errors with "; " instead of a newline
...
otherwise the daemon will only display the first error
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Kevin Atkinson
f1938f3cbd
gc: output all errors to a channel
...
Errors from ColoredSet are now reported as encountered and errors
encountered when deleting blocks are no longer ignored.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
gc: report errors from ColoredSet as encountered
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05:00
Kevin Atkinson
70eccb03e0
gc: collect all errors during ColoredSet phase
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:24:47 -05:00
Jakub Sztandera
454085c810
test: small cleanup of t0010
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:24:43 +01:00
Jeromy Johnson
cbf8a0cdb4
Merge pull request #3748 from ipfs/deps/update-dht
...
update go-libp2p-kad-dht with getclosestpeers fix
2017-03-06 11:21:38 -08:00
Jakub Sztandera
5a5a65381f
test: small cleanup to the filestore sharness test
...
you can use the test_debug by calling tests with
`debug=t verbose=t make test/sharness/t0000-xxx.sh
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 20:03:36 +01:00
Jeromy Johnson
459ceadc0a
Merge pull request #3749 from ipfs/fix/filestore/enabled-check
...
fix: filestore silently being skipped on add if it wasn't enabled
2017-03-06 10:34:53 -08:00
Jakub Sztandera
ffeef8c9cb
fix: filestore silently being skipped on add if it wasn't enabled
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-06 19:16:01 +01:00
Jeromy Johnson
7c707b062a
Merge pull request #3635 from ipfs/feat/bitswap-tx-stats
...
Add more info to bitswap stat
2017-03-06 00:54:03 -08:00
Jeromy Johnson
ea57c694e6
Merge pull request #3629 from ipfs/feat/filestore0
...
Implement basic filestore 'no-copy' functionality
2017-03-06 00:53:47 -08:00
Jeromy
332d760f12
Add more info to bitswap stat
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 09:47:53 +01:00
Jeromy
9ec4c25e31
Address CR feedback
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
8082af7988
Use buffered channels in AllKeysChan to increase performance.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
8e1a03dd96
Refactor.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
459a4b3d72
Move block verification into readDataObj.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Jeromy
8fce0c4161
validate data read from fsrefstore
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
c18ec9824e
add test for deletes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
36feaa4b10
fix delete logic
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
62d23c0648
skip putting blocks we already have
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
e12adeca2b
use proper batching for filestore puts
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
2884c84343
Implement basic filestore 'no-copy' functionality
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-06 00:37:24 -08:00
Jeromy
4e168dc323
update go-libp2p-kad-dht with getclosestpeers fix
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-05 23:06:04 -08:00
kpcyrd
3c96b09ae7
docker: Automatically fix permissions
...
This patch is delaying the point where permissions are dropped into the `start_ipfs` script. This way, instead of exiting on permission issues, we can fix them on our own inside the script, then drop privileges and continue doing ipfs specific stuff with the correct user.
I've removed the `chmod 0777` step from the readme since it's not needed anymore.
License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2017-03-03 21:10:02 +01:00
Jeromy Johnson
e72deea516
Merge pull request #3742 from ipfs/feat/arch-install
...
readme: add Arch install instruction
2017-03-02 23:21:35 -08:00
Jakub Sztandera
773f771b5d
readme: add toc of pkg managers
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 19:04:04 +01:00
Jakub Sztandera
ad6396e5af
readme: add Arch install instruction
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 18:59:41 +01:00
Jeromy Johnson
5ff552cd12
Merge pull request #3700 from ipfs/kevina/enumerate-children-refactor
...
Refactor EnumerateChildren to avoid need for bestEffort paramater.
2017-03-02 09:22:59 -08:00
Jeromy Johnson
82b021c791
Merge pull request #3728 from ipfs/fix/mount/resolve-name
...
fix: ipfs mount crashing if there was no name published before
2017-03-02 09:18:39 -08:00
Jeromy Johnson
d2f41e22fe
Merge pull request #3725 from ipfs/feat/better-muxer
...
feat: remove broken spdy multiplexer and enable multiplex by default as second option
2017-03-02 09:15:16 -08:00
Jeromy Johnson
d373e93e4d
Merge pull request #3615 from ipfs/feat/metrics/perf
...
Add multiple performance metrics
2017-03-02 09:14:21 -08:00
Kevin Atkinson
e4bbd246ec
Add some documentation on the intended purpose of GetLinks.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-02 05:21:47 -05:00
Kevin Atkinson
c3346ad9d5
Refactor EnumerateChildrenAsync to take in a function to get the links.
...
For now it is always called with the helper function GetLinksDirect to
avoid any change in behaviour.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-02 05:21:47 -05:00
Kevin Atkinson
6e4fd937fd
Refactor EnumerateChildren to avoid need for bestEffort parameter.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-02 05:19:41 -05:00
Jakub Sztandera
acfaf9ac89
Introduce sent blocks histogram
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:29:02 +01:00
Jakub Sztandera
ccd1f8e3d7
Add metric of number of elements in the wantlist
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:29:00 +01:00
Jakub Sztandera
ce684ab73e
refactor: cleanup bitswap metrics collection
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:28:36 +01:00
Jakub Sztandera
26cb182ba8
Introduce block and dup histograms to bitswap
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:28:36 +01:00
Jakub Sztandera
f5885584d1
cleanup: metrics collection
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:28:34 +01:00
Jakub Sztandera
83086311e2
fix: ipfs mount crashing if there was no name published before
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 10:21:44 +01:00
Friedel Ziegelmayer
8b2aa5617d
feat: remove broken spdy multiplexer and enable mplex by default
...
License: MIT
Signed-off-by: Friedel <dignifiedquire@gmail.com>
2017-03-01 23:28:05 -08:00
Jeromy Johnson
57e4e2103e
Merge pull request #3734 from ipfs/feat/keystore/list-self
...
keystore: add self key to the listing
2017-03-01 23:26:09 -08:00
Jeromy Johnson
1ef5ecb64b
Merge pull request #3730 from ipfs/feat/branch-archive
...
misc: add branch archiving script
2017-03-01 23:25:22 -08:00
Jeromy Johnson
3ff5b7437e
Merge pull request #3717 from ipfs/misc/real-checklist/start-tmpl
...
misc: improve release checklist
2017-03-01 23:21:59 -08:00
Jeromy Johnson
5ecc8d7a41
Merge pull request #3727 from ipfs/deps/fuse-in-gx
...
Update fuse lib, push it to gx
2017-03-01 21:31:16 -08:00
Jakub Sztandera
2601ab2686
Revert "Fail nicelly on OSXFUSE 3.0.0+"
...
This reverts commit 53a35a8f50 .
2017-03-02 02:55:17 +01:00
Jakub Sztandera
6680060bc9
Revert "Add issue number to the OSXFUSE 3+ message"
...
This reverts commit 018a5d594d .
2017-03-02 02:55:17 +01:00
Jakub Sztandera
91abcbe5ed
deps: remove vendored fuse lib
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 02:55:17 +01:00
Jakub Sztandera
9ed4b9e46a
deps: switch to gx based fuse lib
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-02 02:55:14 +01:00