Hector Sanjuan
b388a45e92
Merge pull request #33 from ipfs/20-deps-mgmt
...
Dependency management: gx all deps + fetch gx from dist.ifps.io
Fixes #20 .
2017-01-25 12:56:09 +01:00
Hector Sanjuan
78aa03e2d8
A raft-boltdb import was permanently gx'ed
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-25 12:50:46 +01:00
Hector Sanjuan
9a47e6dd1f
Update go-libp2p-gorpc
...
Uses experimental version of multicodecs but should finally pin all deps
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-25 12:50:46 +01:00
Hector Sanjuan
cd307b08ad
Try to fix gx-go not rewriting correctly
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-25 12:50:05 +01:00
Hector Sanjuan
85092ede9a
Update libs. Make sure libp2p versions match
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-25 12:50:05 +01:00
Hector Sanjuan
8719d88e13
gx all dependencies
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-25 12:50:05 +01:00
Hector Sanjuan
154d4dab74
Issue #20 : Download a local installation of gx
...
This way we do not mess with the users stuff
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-25 12:48:16 +01:00
Hector Sanjuan
4cc3c1125b
Merge pull request #32 from ipfs/21-cli-tooling
...
Fixes #21 .
Rewrite the tools with urfave/cli.
Add Cluster.ID()
2017-01-25 12:44:03 +01:00
Hector Sanjuan
3f833a8c17
Use urfave/cli for ipfs-cluster-service too.
...
Added consistency to tools, plus it's worth the effot at this point.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 19:55:06 +01:00
Hector Sanjuan
8883ab3a74
Import cli in 1.19.1 tag
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 17:29:49 +01:00
Hector Sanjuan
1175f971fe
Update cli import with the right author
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 17:23:07 +01:00
Hector Sanjuan
81db084249
Make sure the commit string gets set. Fix PublicKey. Output JSON in cluster-ctl
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:56:14 +01:00
Hector Sanjuan
f19c4b5567
fix lowercase commit symbol
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:33:34 +01:00
Hector Sanjuan
dddd53fe5f
Fix -X parameter
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:29:37 +01:00
Hector Sanjuan
d5fc795ee5
Re-add version method to cluster-ctl
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:26:42 +01:00
Hector Sanjuan
9111c6282c
Issue-21: Add cluster ID() method
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:26:42 +01:00
Hector Sanjuan
50de95d464
Issue-21: Use https://github.com/urfave/cli for cluster-ctl
...
Rewrote the app with better command and help support.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:25:53 +01:00
Hector Sanjuan
af177bfde6
Address formatting, mispellings, lint errors from goreportcard
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 12:39:08 +01:00
Hector Sanjuan
9af863e3e0
Merge pull request #29 from ipfs/25-leader-comm
...
Fix #25 : Only the consensus layer should deal with leaders
2017-01-24 01:13:42 +01:00
Hector Sanjuan
e9698490b0
Improve handling of errors in GlobalPinInfo
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 01:09:27 +01:00
Hector Sanjuan
b3039b85d5
global status and global sync should not error when a node is down
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 00:54:26 +01:00
Hector Sanjuan
9efa2d063f
Merge pull request #31 from ipfs/22-configs
...
Fix #22 : Address feedback regarding configuration
2017-01-24 00:51:40 +01:00
Hector Sanjuan
24c8253c9e
Fix config example
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 00:46:21 +01:00
Hector Sanjuan
afa8a5c33f
Improve startup messages and information
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 23:58:04 +01:00
Hector Sanjuan
8293965b88
Merge pull request #30 from mateon1/fix/proofread-and-whitespace
...
Fix typo and remove trailing whitespace.
2017-01-23 22:54:53 +01:00
Hector Sanjuan
e932b2f3f6
Fix tests with raftCfg config section and do not panic if its not there
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 21:07:16 +01:00
Hector Sanjuan
d987073201
Improve docs for the new configuration formats
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 20:56:35 +01:00
Hector Sanjuan
7954556848
Improve error messages with fishy configurations
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 20:39:09 +01:00
Hector Sanjuan
84a7fa663d
Workaround tests failing randomly
...
Tracked down reason to: https://github.com/libp2p/go-libp2p-swarm/issues/15
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 20:29:05 +01:00
Hector Sanjuan
74c494eb1e
Fix configuration generation.
...
Add a custom RaftConfig section which is limited to whatever
values we want to leave to the user.
Make sure the consensus data is, by default, next to the service.json file.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 19:06:00 +01:00
Hector Sanjuan
d1731ebd28
Use multiaddresses in the configuration and rename JSON entries for clarity
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 18:38:59 +01:00
mateon1
51f87407c6
Fix typo and remove trailing whitespace.
...
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2017-01-23 14:21:26 +01:00
Hector Sanjuan
031523f7bf
Fix #25 : Only the consensus layer should deal with leaders
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 14:01:49 +01:00
Hector Sanjuan
365c549d7c
Fix #5 : Rename apps to ipfs-cluster-service and ipfs-cluster-ctl
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 13:34:22 +01:00
Hector Sanjuan
2983544561
Fix #27 : Add captain's log and ROADMAP
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 13:16:20 +01:00
Hector Sanjuan
9c80bc03a9
Merge pull request #13 from ipfs/devel
...
ipfs-cluster (alpha)
2017-01-23 12:45:29 +01:00
Hector Sanjuan
5fc0ab0710
Do not open connections by default
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 12:33:36 +01:00
Hector Sanjuan
1308a3a32f
Increase leader timeout
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 12:27:24 +01:00
Hector Sanjuan
c2d9326715
Improve consensus startup by waiting for a leader.
...
This should also fix some tests error-ing randomly when there is no leader.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-23 12:09:29 +01:00
Hector Sanjuan
b5bb6e9cc3
Readme: Fix "pin rm" example
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-17 19:29:52 +01:00
Hector Sanjuan
19c75fdbfe
Expand ipfs-cluster-server usage section
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-15 16:18:22 +01:00
Hector Sanjuan
95e31ace87
Address small typos pointed out by @mateon1
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-15 16:06:47 +01:00
Hector Sanjuan
34f74a662c
TODO has been formalized as issues
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-29 18:50:28 +01:00
Hector Sanjuan
c7b94b0ec9
Add architecture docs
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-29 18:38:09 +01:00
Hector Sanjuan
37c7c39b84
update todo
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-29 17:51:52 +01:00
Hector Sanjuan
3243cfcccf
Make golint happy
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-28 16:29:07 +01:00
Hector Sanjuan
805b867651
Use go-libp2p-rpc. Tests updated.
...
The former RPC stuff had become a monster, really hard to have an overview
of the RPC api capabilities and with lots of magic.
go-libp2p-rpc allows to have a clearly defined RPC api which
shows which methods every component can use. A component to perform
remote requests, and the convoluted LeaderRPC, BroadcastRPC methods are
no longer necessary.
Things are much simpler now, less goroutines are needed, the central channel
handling bottleneck is gone, RPC requests are very streamlined in form.
In the future, it would be inmediate to have components living on different
libp2p hosts and it is way clearer how to plug into the advanced cluster rpc
api.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-27 18:19:54 +01:00
Hector Sanjuan
17ef2da1ac
Enable debug flag. fix accepted response output.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-22 18:29:41 +01:00
Hector Sanjuan
b92b598db1
ipfscluster tool. A CLI app wrapping the Cluster API.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-22 17:14:15 +01:00
Hector Sanjuan
0b5a300568
Harden http.Server
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-22 11:31:09 +01:00