Commit Graph

7138 Commits

Author SHA1 Message Date
Kevin Atkinson
f66ca2ff24 gc: continue to use cmds.ChannelMarshaler
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-18 21:30:32 -04:00
Kevin Atkinson
c83bbafbbc gc: stream all errors including the last
and report "encountered errors during gc run" as the response error

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-07 03:02:28 -05:00
Kevin Atkinson
f338520aa8 gc: add option to stream errors
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
401d156596 gc: refactor: CollectResult
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
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
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
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
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