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
Hector Sanjuan
09ac792c15
gx publish 0.0.8
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 13:15:14 +01:00
Hector Sanjuan
6a4863e623
Release 0.0.8
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 13:15:08 +01:00
Hector Sanjuan
1c7d1e0141
Fix release.sh
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 13:15:00 +01:00
Hector Sanjuan
25fe269322
gx publish 0.0.7
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 12:41:58 +01:00
Hector Sanjuan
b19b3c6882
Release 0.0.7
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 12:41:52 +01:00
Hector Sanjuan
ea1ad53df1
Fix tagging
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 12:41:43 +01:00
Hector Sanjuan
3dd0c47724
gx publish 0.0.6
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 12:24:50 +01:00
Hector Sanjuan
76707d4b9b
Release 0.0.6
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-09 12:24:27 +01:00
Hector Sanjuan
9dff76b8da
Merge pull request #58 from ipfs/pin-options
...
Allow specifying a replication factor per pin
2017-03-09 12:21:13 +01:00
Hector Sanjuan
a5275ad02e
Merge branch 'small-fixes' into pin-options
2017-03-09 12:04:49 +01:00
Hector Sanjuan
271b6194b7
Merge pull request #56 from ipfs/docker
...
Add Dockerfile
2017-03-09 12:03:02 +01:00
Hector Sanjuan
e5c5909e42
Support a replication factor flag in "ipfs-cluster-ctl pin add".
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-08 18:51:03 +01:00
Hector Sanjuan
01d65a1595
Support replication factor as a pin parameter
...
This adds a replication_factor query argument to the API
endpoint which allows to set a replication factor per Pin.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-08 18:50:54 +01:00
Hector Sanjuan
9b652bcfb3
Rename CidArg to Pin.
...
CidArg used to be an internal name for an argument that carried a Cid.
Now it has surfaced to API level and makes no sense. It is a Pin. It
represents a Pin (Cid, Allocations, Replication Factor)
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-08 16:57:27 +01:00
Hector Sanjuan
e014ba7751
Fix output when global pin info comes with an error
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-08 01:10:24 +01:00
Hector Sanjuan
ee57cf8a36
Add Dockerfile
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-07 17:39:19 +01:00
Hector Sanjuan
9d6121c426
gx publish 0.0.5
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-07 17:39:00 +01:00
Hector Sanjuan
7be6399433
Release 0.0.5
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-07 17:38:53 +01:00
Hector Sanjuan
e5543f3b30
Fix ipfs-cluster-service looping eating lots of CPU (bad select loop)
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-07 17:38:04 +01:00
Hector Sanjuan
101720bd91
gx publish 0.0.4
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 18:49:52 +01:00
Hector Sanjuan
135a222301
Release 0.0.4
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 18:49:45 +01:00
Hector Sanjuan
d72fc5b317
Correctly replace release number when releasing
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 17:57:28 +01:00
Hector Sanjuan
36c12fc297
Put tools README into dist/ folder
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 17:52:43 +01:00
Hector Sanjuan
85651ae8cb
Issue #55 : Move tooling information to it's own README in the subprojects.
...
Add LICENSE there too, so that the build tool for distributions includes
it in the tar files.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 16:13:09 +01:00
Hector Sanjuan
e038ea039a
Fix test by adding more delay
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 15:38:53 +01:00
Hector Sanjuan
1c16b653a7
gx publish 0.0.3
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 15:08:51 +01:00
Hector Sanjuan
df3c190fc8
Release 0.0.3
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-03 15:08:31 +01:00
Hector Sanjuan
d0e2eaf12f
Update libp2p and deps
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-02 17:05:21 +01:00
Hector Sanjuan
58d962de4c
Update gx version
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-02 17:05:21 +01:00
Hector Sanjuan
31e32b9c8e
Update README with latest feature and Captain's log
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-02 15:12:06 +01:00
Hector Sanjuan
6ee0f3bead
Issue #45 : Detect expired metrics and trigger re-pins
...
An initial, simple approach to this. The PeerMonitor will
check it's metrics, compare to the current set of peers and put
an alert in the alerts channel if the metrics for a peer have expired.
Cluster reads this channel looking for "ping" alerts. The leader
is in charge of triggering repins in all the Cids allocated to
a given peer.
Also, metrics are now broadcasted to the cluster instead of pushed only
to the leader. Since they happen every few seconds it should be okay
regarding how it scales. Main problem was that if the leader is the node
going down, the new leader will not now about it as it doesn't have any
metrics for it, so it won't trigger an alert. If it acted on that then
the component needs to know it is the leader, or cluster needs to
handle alerts in complicated ways when leadership changes. Detecting
leadership changes or letting a component know who is the leader is another
dependency from the consensus algorithm that should be avoided. Therefore
we broadcast, for the moment.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-02 14:59:45 +01:00
Hector Sanjuan
d87c64b611
Unify the way of handling contex and cancels in components.
...
Cleaning up some ugly code
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-02 14:35:16 +01:00
Hector Sanjuan
c18b4beea3
Try to go more to the point in the readme. Move quickstart guide to docs/
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-02-27 10:30:09 +01:00
Hector Sanjuan
857e38175e
Double-delay on test to allow leader re-election.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-02-15 15:46:51 +01:00
Hector Sanjuan
37046dc925
go vet fixes
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-02-15 15:46:51 +01:00
Hector Sanjuan
8e45ce64c2
Documentation: captain log, readme and golint fixes
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-02-15 15:46:51 +01:00
Hector Sanjuan
469cf51e62
Make sure all times appear as UTC
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-02-15 14:15:12 +01:00
Hector Sanjuan
56d68dded1
Avoid showing duplicate Addresses in peers IDs.Addresses.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-02-15 14:15:12 +01:00