Commit Graph

21 Commits

Author SHA1 Message Date
Hector Sanjuan
9ed3d05172 Go vet
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-21 20:46:00 +01:00
Hector Sanjuan
5c41d69abc Figured out globalSync and globalSync cid. Tests. More tests.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-20 19:51:13 +01:00
Hector Sanjuan
07a8f62ef4 Remote should be shutdown too
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-19 20:07:29 +01:00
Hector Sanjuan
25c921e6f5 Unbuffered channel explains hanging issues.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-19 19:40:17 +01:00
Hector Sanjuan
8172b0ca61 Global pin status. /status /status/cid will now report pin tracker state
from all cluster members.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-19 18:35:24 +01:00
Hector Sanjuan
f0c5350743 Get remote RPC requests working. First e2e tests.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-16 22:00:08 +01:00
Hector Sanjuan
4ca39ae9b3 Renames of configuration keys and more docs
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-16 19:14:45 +01:00
Hector Sanjuan
0422ceed16 Preliminary support for Remote RPC operations
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-16 12:40:28 +01:00
Hector Sanjuan
319c97585b Renames everywhere removing redundant "Cluster" from "ClusterSomething".
Start preparing syncs() and status()

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 19:08:46 +01:00
Hector Sanjuan
45c31846d1 Fix startup sync mechanism
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 15:08:43 +01:00
Hector Sanjuan
09cc7e9265 Lowercase error messages
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 14:19:41 +01:00
Hector Sanjuan
a655288fd6 Improve shutdown routines
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-15 14:07:19 +01:00
Hector Sanjuan
f56a9dd77e Add cluster_test
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 17:25:21 +01:00
Hector Sanjuan
0f31995bd6 consensus tests
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-14 15:31:50 +01:00
Hector Sanjuan
98dc9f2289 Fix syncAll being triggered before cluster run(). Other small things.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-12 13:54:58 +01:00
Hector Sanjuan
34b2b6cbd1 Sync between tracker and cluster state. go vet. tests.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2016-12-09 20:54:46 +01:00
Hector Sanjuan
5ae9b58daf Some tests. Mostly to check if travis/coveralls work 2016-12-08 17:24:38 +01:00
Hector Sanjuan
a9dcf57a90 Add MapPinTracker sync and recover capabilities.
Sync checks that the CID status corresponds to what IPFS says.

Recover retries pinning, unpinning on Error-ed cids.
2016-12-07 17:21:29 +01:00
Hector Sanjuan
9c1c256e33 Introduce the concept of PinTracker. Thin ClusterState to minimal.
+ Try to make RPC handling code cleaner.
2016-12-06 22:29:59 +01:00
Hector Sanjuan
2285f8d1a8 Make ipfs pinning async. Add Pin intermediary states 2016-12-05 15:30:11 +01:00
Hector Sanjuan
e0840df267 WIP: basic functionality 2016-12-02 19:33:39 +01:00