Commit Graph

1966 Commits

Author SHA1 Message Date
Hector Sanjuan
dcb6c0805b
Merge pull request #946 from ipfs/dockerfiles-improvs
Dockerfiles: download modules in advance
2019-11-05 12:27:51 +01:00
Hector Sanjuan
e06118277e
Merge pull request #923 from ipfs/feat/pin-expiration
Pin Expiration
2019-11-05 12:27:02 +01:00
Hector Sanjuan
af29bbc944 Pin-expiration: error when pinning expired pins 2019-11-05 12:22:52 +01:00
Kishan Mohanbhai Sagathiya
e4e1cbea6e Fix #481: Pin expiration
This adds a new PinOption: ExpireAt.

The StateSync ticker will check and unpin expired pins from the Cluster.

ipfs-cluster-ctl supports an "expire-in" which gives a duration.
2019-11-05 10:40:48 +01:00
Kishan Sagathiya
295915272b Tests: multiple fixes to tests reliability (#943)
This makes a number of fixes to improve the reliability of tests.
2019-10-31 21:51:13 +01:00
Hector Sanjuan
d2ec84d8f2 Address review 2019-10-31 10:58:09 +01:00
Kishan Mohanbhai Sagathiya
fdb47292d0 "Sync/Status/Recover" operations should not broadcast to peers with remote pins 2019-10-29 20:18:16 +05:30
Hector Sanjuan
073a0dfa58 Dockerfiles: download modules in advance
This should speed up Dockerfile builds, particularly when building after
updating the code since the modules will not be to be re-downloaded.
2019-10-28 10:23:18 +01:00
Kishan Sagathiya
7b499263af service init --randomports:
Allow initialize cluster with random ports that are ununsed (at the moment of initialization)
2019-10-24 17:54:50 +02:00
Kishan Sagathiya
31534a429b Fix #374: health metrics improvements
- Human-sizes for freespace metrics. Display whether if metric is
expires in something like "expires in 3m".
- When not passing metric name `ipfs-cluster-ctl health metrics` hits
the the metrics endpoint which returns a list of available metrics and
displays to user
- Humanize metrics output
- Sort metrics output
2019-10-24 16:37:26 +02:00
Kishan Mohanbhai Sagathiya
87d9e4f156 Sequantially garbage collect on peers
IPFS garbage collection stops add and remove, so running garbage
collection on all nodes at once would cause many cluster functionalities
to error
Do it sequantially to avoid that problem.
2019-10-24 10:41:36 +05:30
Kishan Mohanbhai Sagathiya
492b5612e7 Add ability to run Garbage Collector on all peers
- cluster method, ipfs connector method, rpc and rest apis,
command, etc for repo gc
    - Remove extra space from policy generator
    - Added special timeout for `/repo/gc` call to IPFS
    - Added `RepoGCLocal` cluster rpc method, which will be used to run gc
    on local IPFS daemon
    - Added peer name to the repo gc struct
    - Sorted with peer ids, while formatting(only affects cli
    results)
    - Special timeout setting where timeout gets checked from last update
    - Added `local` argument, which would run gc only on contacted peer
2019-10-22 11:13:19 +05:30
Hector Sanjuan
04a5881b07
Merge pull request #934 from ipfs/go1.13
Bump things to Go 1.13
2019-10-12 16:50:16 +02:00
Hector Sanjuan
05be173241 Fix test program for go1.13 2019-10-04 20:01:40 +02:00
Hector Sanjuan
78c83f0bb5 Bump things to Go 1.13 2019-10-04 19:27:02 +02:00
Hector Sanjuan
3abf764de8
Merge pull request #930 from ipfs/update/deps4
Update/deps4
2019-10-03 15:43:01 +02:00
Hector Sanjuan
e273a3919d Golint 2019-10-01 13:59:54 +02:00
Hector Sanjuan
2c47585870 Handle wrapping outside the ipfs adder
The ipfs adder does not wrap anymore.
2019-10-01 12:19:22 +02:00
Hector Sanjuan
9cd9bce556 Test base32 adding output 2019-10-01 12:19:22 +02:00
Hector Sanjuan
91f1d160a7 Attempt to fixes to adder and alignment with newer versions 2019-10-01 12:19:22 +02:00
Hector Sanjuan
be4be9a494 Dependency update 2019-09-27 18:54:42 +02:00
Hector Sanjuan
582968f44e
Merge pull request #915 from ipfs/feat/proxy-logging
API logs for IPFS Proxy
2019-09-27 12:07:34 +02:00
Hector Sanjuan
ffd02a6a64
Merge pull request #917 from ipfs/fix/pin-queue-full
Error queue is full for stateless pintracker
2019-09-27 11:48:03 +02:00
Hector Sanjuan
1f07b3af81
Merge pull request #919 from ipfs/feat/clean-metrics
Test that expired PeerMetrics gets deleted
2019-09-26 18:46:59 +02:00
Hector Sanjuan
ce20e86fdb
Merge pull request #907 from ipfs/feat/local-add
`--local` flag for `ctl add`
2019-09-23 13:13:59 -04:00
Hector Sanjuan
a98292bfa6
Merge pull request #893 from ipfs/feat/recover-all
Pin recover on all peers
2019-09-23 13:13:48 -04:00
Kishan Mohanbhai Sagathiya
fe57e33726 Addressed reviews 2019-09-21 14:07:26 +05:30
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
Kishan Mohanbhai Sagathiya
ca81048ffa Allocate in the beginning for local as well 2019-09-18 13:21:04 +05:30
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
Kishan Mohanbhai Sagathiya
76857112b2 Test that expired PeerMetrics gets deleted 2019-09-13 08:01:15 +07: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
Kishan Mohanbhai Sagathiya
19cde2e8cf Error queue is full for stateless pintracker
- increase max pin queue size to 1 million
- hide max_pin_queue_size from configuration
2019-09-11 12:53:51 +07:00
Kishan Mohanbhai Sagathiya
6543c0c79b Addressed reviews 2019-09-10 20:05:38 +07:00
Kishan Mohanbhai Sagathiya
adc7c5b131 Merge branch 'master' of github.com:ipfs/ipfs-cluster into test2 2019-09-10 20:03:05 +07:00
Kishan Mohanbhai Sagathiya
7f6c45812f Fix test 2019-09-10 15:27:47 +07:00
Kishan Mohanbhai Sagathiya
bc357400f6 API logs for IPFS Proxy 2019-09-10 13:59:03 +07: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
3ad66bd59c Fix sharness 2019-09-08 17:11:32 +07:00
Kishan Mohanbhai Sagathiya
9cb1cdeaff Merge branch 'master' into feat/recover-all 2019-09-08 17:06:43 +07:00