Roman Khafizianov
90b7b53a40
fix the typo in the serveHTTPApi
...
It looks like the incorrect address passed into the logger in case of error
2020-04-14 13:24:49 +03:00
Steven Allen
2560e467ef
Merge pull request #7154 from ipfs/fix/car-sharness
...
test(sharness): improve CAR tests to remove some potential races
2020-04-13 22:35:39 -07:00
Steven Allen
01d0d1146b
Merge pull request #7153 from ipfs/chore/update-deps
...
chore: update deps
2020-04-13 21:45:42 -07:00
Steven Allen
5772ac7a5f
test(sharness): improve CAR tests to remove some potential races
...
* Instead of ensuring that we GC nothing, verify that the repo validates.
* Avoid a race between removing the fifos and trying to read from them.
* Avoid all 'bash -c' invocations. Instead, make liberal use of subshells and
wait.
Hopefully fixes #7123 .
2020-04-13 21:42:27 -07:00
Steven Allen
e1f78e7929
chore: update deps
2020-04-13 19:51:22 -07:00
Steven Allen
28e31e17a8
Merge pull request #7127 from ipfs/feat/dual-dht
...
feat: introduce the dual WAN/LAN DHT
2020-04-13 19:01:12 -07:00
Steven Allen
b760d89e02
Merge pull request #7152 from ipfs/fix/sharness-partial-publish
...
fix: invalidate cache on failed publish
2020-04-13 18:43:26 -07:00
Steven Allen
c12c184ca4
fix: invalidate cache on failed publish
...
If we fail to publish, _invalidate_ our cache. The publish may have partially
succeeded.
2020-04-13 18:22:04 -07:00
Steven Allen
d0d508b2e1
fix: fix 'dht query' command to actually return the closest peers
...
Then improve the tests such that they actually work.
2020-04-13 17:42:03 -07:00
Steven Allen
b64d17b924
properly expose dual dht
2020-04-13 15:58:12 -07:00
Steven Allen
af2f4b2301
Merge pull request #7148 from ipfs/chore/disable_gc-race_test
...
Temporarily disable gc-race test
2020-04-13 10:46:31 -07:00
Peter Rabbitson
cb5863c038
Temporarily disable gc-race test
...
I am going to rig a more robust version and run it locally to crash
Disabling in master in order to validate the pipe reading itself
works correctly and reliably
2020-04-13 19:28:14 +02:00
Steven Allen
5ecf44a882
Merge pull request #7143 from ipfs/chore/update-bitswap
...
chore: update bitswap
2020-04-10 18:05:26 -07:00
Steven Allen
fdd0ebac18
chore: update bitswap
...
Hopefully fixes the message queue bloat issue.
2020-04-10 17:37:01 -07:00
Steven Allen
2ecb4f7fd8
Merge pull request #7142 from ipfs/chore/update-flatfs
...
chore: update flatfs
2020-04-10 16:56:40 -07:00
Steven Allen
8679954f9b
chore: update flatfs
...
And remove retry logic. This was flatfs specific and we've moved the logic down
into flatfs itself.
This update:
* Retries in more cases when we run out of file descriptors.
* Ensures we don't leak temporary files on batch put.
2020-04-10 16:42:29 -07:00
Steven Allen
0c619effc1
Merge pull request #7140 from ipfs/chore/harden_impexp_test
...
Beef up and harden import/export tests
2020-04-10 11:01:13 -07:00
Peter Rabbitson
768c287f9b
Extra potential deadlock debugging
2020-04-10 19:25:16 +02:00
Peter Rabbitson
edc27793fb
Extra cross-iptb-network testcases
2020-04-10 19:25:16 +02:00
Peter Rabbitson
4319c12692
Fixup all original test issues
2020-04-10 19:25:14 +02:00
Steven Allen
0765c4063f
Merge pull request #7133 from ipfs/chore/update-flatfs
...
chore: update flatfs
2020-04-10 08:55:46 -07:00
Steven Allen
e55c688fca
fix: run tests in "dht server" mode
...
Otherwise, we'd need to wait a delay on start for nodes to start becoming
servers.
2020-04-09 23:07:27 -07:00
Steven Allen
924e8704a0
chore: update flatfs
...
fixes #7115
2020-04-09 21:42:15 -07:00
Steven Allen
bb08f7fe56
assign public IP addresses for tests that need them
2020-04-09 21:41:42 -07:00
Steven Allen
8a002250dc
feat: introduce the dual WAN/LAN DHT
...
And only join the WAN DHT if we're publicly reachable.
2020-04-09 21:41:38 -07:00
Steven Allen
6cb3ca41da
Merge pull request #6996 from ipfs/fix/dns-filter
...
Filter dials to blocked subnets, even when using DNS.
2020-04-08 21:15:33 -07:00
Steven Allen
9a98158bed
test(sharness): test address filtering
...
tests #6995
2020-04-08 20:26:42 -07:00
Steven Allen
791156e734
chore(dep): update quic and kad-dht
...
* QUIC: update to a new protocol version
* DHT: add some extra checks
2020-04-08 20:10:32 -07:00
Steven Allen
92140ec6fb
Merge pull request #7036 from ipfs/feat/carfile-export-only
...
Dag export command, complete
2020-04-08 15:26:28 -07:00
Peter Rabbitson
a903e23ab9
We are running under set -e :picard-facepalm:
2020-04-08 14:54:49 -07:00
Peter Rabbitson
f9ae330978
Harden test - no -z in busybox
2020-04-08 14:54:49 -07:00
Peter Rabbitson
fbe40883e6
Remove PresentInImport tracking as per conversation
2020-04-08 14:54:49 -07:00
Peter Rabbitson
90c58d6cac
Dag import functionality only ( no progress )
...
This still works over "loosely defined" .car files
Please refer to the sharness tests for extra info
We can tighten this up if the sentiment is "Postel was wrong"
2020-04-08 14:54:49 -07:00
Peter Rabbitson
1a85fddfeb
For now remove export from the gateway whitelist
2020-04-08 14:54:49 -07:00
Peter Rabbitson
871c70a31c
Ditch urfave/cli
2020-04-08 14:54:49 -07:00
Peter Rabbitson
4772ca6134
Add simple byte-counting export progress-bar
2020-04-08 14:54:49 -07:00
Peter Rabbitson
7b489bed80
Depend on now-released go-car tag
2020-04-08 14:54:49 -07:00
Peter Rabbitson
ae5a9e0549
Bring back pipe closure from other end
2020-04-08 14:54:49 -07:00
Peter Rabbitson
380bffa146
Move commented out code together
2020-04-08 14:54:49 -07:00
Peter Rabbitson
73bb0e8353
Check against error veriable
2020-04-08 14:54:49 -07:00
Peter Rabbitson
c2f9849a2b
Fastify with go-car version taking a session
2020-04-08 14:54:49 -07:00
Peter Rabbitson
f129f24bd7
Bring back error-prettifyer removed in f6b707d85f
2020-04-08 14:54:49 -07:00
Peter Rabbitson
3dca025f05
Remove pipe close since we are already in error
2020-04-08 14:54:49 -07:00
Peter Rabbitson
7a749ea7cb
Less confusing CLI helptext
2020-04-08 14:54:49 -07:00
Peter Rabbitson
a5f19c4f9c
Remove unnecessay prefetch
2020-04-08 14:54:49 -07:00
Peter Rabbitson
b0a461ca5c
Typo fix
2020-04-08 14:54:49 -07:00
Peter Rabbitson
635e333d60
Dag export command, silent, no progress
2020-04-08 14:54:49 -07:00
Steven Allen
23af25f176
Merge pull request #7119 from fission-suite/fission-early-tester
...
Adding Fission to IPFS early testers page
2020-04-08 12:53:21 -07:00
Boris Mann
2a42d44dee
Adding Fission to IPFS early testers page
2020-04-08 11:46:25 -07:00
Steven Allen
80c1f112d7
Merge pull request #7114 from ipfs/chore/update-dep
...
chore: update go-ds-badger
2020-04-07 21:06:29 -07:00