Hector Sanjuan
2d8cd236b5
Fix #75 : Overriding options should not make them permanent in config
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 19:10:50 +02:00
Hector Sanjuan
38a9996186
Fix #76 : Handle SIGTERM just as SIGINT
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 19:10:50 +02:00
Hector Sanjuan
db6956b737
Fix #77 : ipfs-cluster-ctl output tweaks.
...
Be more consistent when printing errors (i.e. if json encoding
is requested then it should be used for errors too). Do not
print "Request accepted".
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 19:10:50 +02:00
Hector Sanjuan
43aa5ffa1f
Fix: do not bootstrap twice
...
:S
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 17:27:45 +02:00
Hector Sanjuan
55600898cc
Add initialization gif to this README
2017-03-28 14:14:47 +02:00
Hector Sanjuan
648e25c2bc
gx publish 0.0.11
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 11:57:41 +02:00
Hector Sanjuan
39683460c6
Release 0.0.11
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 11:57:11 +02:00
Hector Sanjuan
6688ecf262
Merge pull request #74 from ipfs/set-proxy-status
...
Fix ipfs proxy not respecting return status codes
2017-03-28 11:39:47 +02:00
Hector Sanjuan
30262a2499
Fix ipfs proxy not respecting return status codes
...
Added extra test for it.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 11:09:05 +02:00
Hector Sanjuan
8c0f17a795
Update Captain's log
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-28 01:30:26 +02:00
Hector Sanjuan
dbdea1856f
Merge pull request #73 from ipfs/disk-informer
...
Fix #49 : Add disk informer
2017-03-27 21:28:56 +02:00
Hector Sanjuan
2bbbea79cc
Issue #49 : Add disk informer
...
The disk informer uses "ipfs repo stat" to fetch the RepoSize value and
uses it as a metric.
The numpinalloc allocator is now a generalized ascendalloc which
sorts metrics in ascending order and return the ones with lowest
values.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-27 20:40:49 +02:00
Hector Sanjuan
e8ba1b7dad
Merge pull request #72 from ipfs/connect-ipfs-nodes
...
Fixes #16 : trigger ipfs swarm connect to other ipfs nodes in the cluster
2017-03-27 13:04:43 +02:00
Hector Sanjuan
90635f31a1
Do not fail tests if the coverage token is not set
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-27 12:42:54 +02:00
Hector Sanjuan
4bb30cd24a
Fixes #16 : trigger ipfs swarm connect to other ipfs nodes in the cluster.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-27 12:42:54 +02:00
Hector Sanjuan
98043ca675
Merge pull request #71 from ipfs/pin-ls-recursive
...
Use "pin ls --type=recursive $pin" when checking if a pin exists
2017-03-21 14:05:58 +01:00
Hector Sanjuan
8753d50c18
Increase delay in Tracker Untrack test
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-21 13:53:19 +01:00
Hector Sanjuan
17796afb2e
Use "pin ls --type=recursive $pin" when checking if a pin exists
...
This is significantly faster for pins that don't exist.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-21 12:57:09 +01:00
Hector Sanjuan
304bb8f59c
Merge pull request #70 from ipfs/use-multiaddr-net
...
Take advantage of go-multiaddr-net utilities.
2017-03-17 20:17:51 +01:00
Hector Sanjuan
e3a52e1d7d
Make tests less prone to fail
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-17 17:05:22 +01:00
Hector Sanjuan
f3c1636062
Take advantage of go-multiaddr-net utilities.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-16 15:51:24 +01:00
Hector Sanjuan
4180d1cb1b
Merge pull request #69 from ipfs/submodules
...
Move components to submodules.
fixes #18 . Moves:
* RESTAPI
* IPFSHTTPConnector
* Consensus
* PeerMonitor
* MapPinTracker
to subfolders and adds some extra tests to keep coverage report reasonable.
2017-03-14 17:46:19 +01:00
Hector Sanjuan
03a931b8df
Fix logging
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 17:32:00 +01:00
Hector Sanjuan
b4dd8dd9c6
Update code layout desc in architecture.md
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 16:47:48 +01:00
Hector Sanjuan
e2efef8469
go lint, go vet, put the Consensus component behind interface.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 16:37:29 +01:00
Hector Sanjuan
37fab27ba6
Move MapPinTracker to its own submodule and add tests for it
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 16:10:45 +01:00
Hector Sanjuan
0ae9231993
Gitignore: Improve ignoring tests leftovers
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 14:34:23 +01:00
Hector Sanjuan
a6b99107ae
Fix numpinalloc tests
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 14:31:26 +01:00
Hector Sanjuan
11f3e6b2d4
Fix #65 : Use Go 1.8 in travis
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 14:22:02 +01:00
Hector Sanjuan
a40e90a78d
Fix: metrics with nanoseconds TTLs
...
It turns out they only worked in round seconds. Tests send a metric
every second, so sometimes they were expired right away.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 14:18:23 +01:00
Hector Sanjuan
b57fa40f47
Add a couple of consensus tests to keep coverage high.
...
The code path is well tested, but Go does not know about it
in submodules.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 13:50:30 +01:00
Hector Sanjuan
8c1bf77287
Fix state interface
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 18:44:42 +01:00
Hector Sanjuan
9ac81a8539
gx install no longer verbose
...
Makes me scroll a lot
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 18:40:35 +01:00
Hector Sanjuan
c2faf48177
Issue #18 : Move Consensus and PeerMonitor to its own submodules
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 18:40:35 +01:00
Hector Sanjuan
e99b7b4f79
[WIP]: Move REST API and IPFS HTTP Connector to its own submodules
...
Part of Issue #18 .
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 18:39:23 +01:00
Hector Sanjuan
988327a910
Merge pull request #67 from ipfs/migrator
...
Issue #51 : Save a backup on shutdown
2017-03-13 18:15:08 +01:00
Hector Sanjuan
718b2177ce
Issue #51 : Save a backup on shutdown
...
This adds snapshot and restore methods to state and uses the snapshot
one to save a copy of the state when shutting down. Right now, this is
not used for anything else.
Some lines performing a migration, but this is only an idea of how it could
work.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 17:57:10 +01:00
Hector Sanjuan
a3c705a01d
Merge pull request #66 from ipfs/fix-tests
...
Address randomly failing tests. Improve metrics broadcasts.
2017-03-13 17:51:16 +01:00
Hector Sanjuan
acefb68c8a
Only leader broadcasts metrics. The rest sends only to leader
...
This is a better approach than broadcasting everything all the time
(see 6ee0f3bead
). A couple of delays
have been touched in order to make tests less likely to fail randomly.
(Issue #65 ).
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 15:55:52 +01:00
Hector Sanjuan
20b0a3382e
ctl: fix some outputs
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 11:10:53 +01:00
Hector Sanjuan
1542c47387
Merge pull request #61 from ipfs/readme-docker
...
Add docker and dist.ipfs.io install methods to README
2017-03-13 11:09:13 +01:00
Hector Sanjuan
9be145319b
Increase delays to prevent test from randomly failing
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-10 14:27:03 +01:00
Hector Sanjuan
3572e7454b
Add this week's entry to the Captain's Log.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-10 14:05:40 +01:00
Hector Sanjuan
c01ff6fdb5
Add docker and dist.ipfs.io install methods to README
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-10 13:21:38 +01:00
Hector Sanjuan
ee4102e3e9
gx publish 0.0.10
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 15:04:48 +01:00
Hector Sanjuan
7ce5961aba
Release 0.0.10
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 15:04:42 +01:00
Hector Sanjuan
bfae9bc624
Merge pull request #59 from ipfs/fix-realloc
...
Fix pin re-allocation when it's already pinned
2017-03-09 15:04:12 +01:00
Hector Sanjuan
a1d31d094b
Fix pin re-allocation when it's already pinned
...
There was a bug in the test for re-allocation which hid another
bug in the re-allocation process where a pin which needs to be
re-allocated would only be assigned to the new destinations and not
anymore to the valid allocations it had previously
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 14:49:10 +01:00
Hector Sanjuan
988afe9766
gx publish 0.0.9
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 13:15:23 +01:00
Hector Sanjuan
f93538aed1
Release 0.0.9
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 13:15:18 +01:00