Commit Graph

1775 Commits

Author SHA1 Message Date
Hector Sanjuan
4696fdf8d5
Merge pull request #920 from jimpick/patch-1
Spelling fix
2019-09-20 15:17:47 -04:00
Hector Sanjuan
9012bfa73e Improve docker-compose.yml for testing
Makes sure it works well with the quickstart docs
2019-09-20 11:08:40 -04:00
Jim Pick
6c790a9289
Spelling fix 2019-09-13 20:09:11 -07:00
Hector Sanjuan
3c4859c74c
Release 0.11.0 2019-09-13 18:57:25 +02:00
Hector Sanjuan
cf0b22c1f0
Merge pull request #880 from ipfs/0.11.0/changelog
Changelog for v0.11.0
2019-09-13 18:56:51 +02:00
Hector Sanjuan
c0384c2a8f Changelog for v0.11.0 2019-09-13 18:55:23 +02:00
Hector Sanjuan
d21dffa923
Release 0.11.0-rc10 2019-09-13 10:52:13 +02:00
Hector Sanjuan
14a9965e4c
Merge pull request #918 from ipfs/update/go-ds-crdt2
CRDT: update and increase timeout
2019-09-13 09:35:17 +02:00
Hector Sanjuan
1a0998f10d CRDT: update and increase timeout
* Update go-ds-crdt to 0.1.5 which adds a return statement in case of error fetching a node.
* Increase DAG-Get timeout to 2 minutes
* Downgrade go-bitswap to 0.1.6.
2019-09-12 19:22:52 +02:00
Hector Sanjuan
cf189799f2
Release 0.11.0-rc9 2019-09-09 14:54:52 +02:00
Hector Sanjuan
12141a562e
Merge pull request #913 from ipfs/fix/add-params
Fix: consolidate parsing of PinOptions
2019-09-09 14:52:26 +02:00
Hector Sanjuan
4e75bee03d
Merge pull request #909 from ipfs/fix/rpl-confusion
Explanation of 0 replication factor
2019-09-09 10:31:18 +02:00
Hector Sanjuan
963bf8877f
Merge pull request #894 from ipfs/feat/http-logging
Logging for Cluster HTTP APIs
2019-09-09 10:30:01 +02:00
Hector Sanjuan
18dad223b2
Merge pull request #912 from ipfs/fix/allocations
Fix: handling allocations
2019-09-09 10:22:14 +02:00
Kishan Mohanbhai Sagathiya
b1748d13c4 Use absolute path 2019-09-07 19:05:57 +07:00
Kishan Mohanbhai Sagathiya
78ce03c62e go mod tidy 2019-09-07 18:44:30 +07:00
Hector Sanjuan
11d5f6a3f2 Fix: consolidate parsing of PinOptions
This removes duplicated code to parse PinOptions.
2019-09-06 18:38:55 +02:00
Hector Sanjuan
96752e4e58 Fix: handling allocations
* pin() should not allocate if allocations are already provided
* pin() should not skip pinning if the exact same pin exists
  * Additionally this was unreliable as it allocated it before
    so the pin may have existed but the allocations may have been
    artificially changed.
* pin() re-uses existing pin when pin options are the same and thus
  avoids changing the allocations of a pin.

As a side effect, this fixes re-allocations which were broken: peers
called `shouldPeerRepinCid()` and instead of repinning that single
cid proceeded to repin the full state. For every pin.

Additionally tests have been adapted. It may be that some re-alloc tests
were very unreliable for the problems above.
2019-09-06 17:56:00 +02:00
Hector Sanjuan
9eb0deee4e
Merge pull request #891 from ipfs/feat/metadata
Metadata can be set and shown from `ctl`
2019-09-06 15:46:29 +02:00
Hector Sanjuan
c1ff0651d3
Merge pull request #878 from ipfs/feat/sort-responses
Sort addresses in `/id`
2019-09-06 15:44:44 +02:00
Hector Sanjuan
2d389428cd Merge branch 'master' into feat/metadata 2019-09-06 15:17:05 +02:00
Hector Sanjuan
81ea1e76bc Merge branch 'master' into feat/sort-responses 2019-09-06 15:13:54 +02:00
Hector Sanjuan
d9a5e17974
Merge pull request #892 from ipfs/fix/sharness
Use the updated sharness library
2019-09-06 15:11:23 +02:00
Hector Sanjuan
c2b28be6de
Merge pull request #901 from ipfs/fix/pin-queue-full
Error queue is full
2019-09-06 15:05:53 +02:00
Hector Sanjuan
f45c8544a7
Merge pull request #890 from ipfs/feat/allocations-for-add
Added UserAllocations support for `add`
2019-09-06 15:03:22 +02:00
Hector Sanjuan
d63a7fd641
Merge pull request #877 from ipfs/fix/ipfs-to-p2p
Use `p2p` protocol name over `ipfs` for multiaddr
2019-09-06 15:00:36 +02:00
Kishan Mohanbhai Sagathiya
7155fa87c3 Explanation of 0 replication factor 2019-09-02 09:22:50 +05:30
Kishan Mohanbhai Sagathiya
ea7093aa73 BlockAllocate should respect user allocations 2019-08-31 16:24:20 +05:30
Kishan Mohanbhai Sagathiya
08d7b274af Addressed reviews in test 2019-08-31 14:49:35 +05:30
Kishan Mohanbhai Sagathiya
5f57feab54 Addressed reviews on tests 2019-08-31 11:15:16 +05:30
Kishan Mohanbhai Sagathiya
db11f77396 Remove unwanted configs 2019-08-30 09:13:18 +05:30
Kishan Mohanbhai Sagathiya
6c863df9fe Merge branch 'master' of github.com:ipfs/ipfs-cluster into feat/http-logging 2019-08-29 21:37:04 +05:30
Hector Sanjuan
ef8483e30e
Merge pull request #906 from ipfs/fix/crdt-mass-import
Fix/crdt mass import
2019-08-29 17:32:25 +02:00
Kishan Mohanbhai Sagathiya
d43c8fb4a4 Make api logger work 2019-08-29 20:49:53 +05:30
Kishan Mohanbhai Sagathiya
49af782444 Use custom io.Writer for logging, Use go test instead of sharness tests 2019-08-28 22:13:23 +05:30
Hector Sanjuan
b247783dd8 Badger: Do not compact L0 on close by default
If this goes wrong probably database goes to hell. We want to stop
the daemon as quickly as possible.
2019-08-28 12:09:31 +02:00
Hector Sanjuan
a399d893b7 Remove mdns debug logging
Leftover
2019-08-28 12:09:04 +02:00
Hector Sanjuan
1b91303fe0 Do not allocate an unused item for the trackedPinsMap 2019-08-28 12:08:41 +02:00
Hector Sanjuan
bab0485616 Update go-ds-crdt 2019-08-28 12:07:47 +02:00
Hector Sanjuan
a958d81371
Merge pull request #905 from ipfs/fix/trust-all
Fix: trust-all remained enabled always
2019-08-28 09:31:46 +02:00
Kishan Mohanbhai Sagathiya
c9e72e2359 Avoid using sharness tests when possible 2019-08-28 09:55:03 +05:30
Hector Sanjuan
8ca0f5781c Fix: trust-all remained enabled always 2019-08-27 19:18:50 +02:00
Kishan Mohanbhai Sagathiya
da023573a3 Sharness test for add with metadata 2019-08-27 17:02:10 +05:30
Hector Sanjuan
1cfea47696
Release 0.11.0-rc8 2019-08-27 12:55:41 +02:00
Hector Sanjuan
95682d9b62
Merge pull request #904 from ipfs/update/go-ds-crdt
Update go-ds-crdt
2019-08-27 12:54:39 +02:00
Kishan Mohanbhai Sagathiya
b6ea0b6458 Sharness tests to check if log file gets populated 2019-08-27 15:44:48 +05:30
Hector Sanjuan
c030dd7c8c Update go-ds-crdt 2019-08-27 11:49:24 +02:00
Kishan Mohanbhai Sagathiya
62a998a694 Use custom log formatter when logging to stdout
- Instead of using a boolean config element(send logs to std out or
file), use a string element that would store path of the log file.
That way user has freedom to choose the filepath. Use std out if this
path is empty.
2019-08-27 14:41:15 +05:30
Kishan Mohanbhai Sagathiya
eddf4a1e4d Added sharness test for peers ls 2019-08-27 10:09:05 +05:30
Kishan Mohanbhai Sagathiya
7cb13cb97d Abort on any error 2019-08-27 09:38:41 +05:30