Hector Sanjuan
f40dec428a
Changelog: 0.3.4
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-02-20 19:37:52 +01:00
Hector Sanjuan
5ba746a9ca
Fix: official builds panic on start
...
Since the commit variable is not set in these builds :(
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-02-20 17:55:18 +01:00
Hector Sanjuan
33b2496438
gx publish 0.3.3
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-02-12 21:13:57 +01:00
Hector Sanjuan
9f30638784
Release 0.3.3
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-02-12 21:13:35 +01:00
Hector Sanjuan
c40721c82e
Merge branch '0.3.3/changelog'
2018-02-12 21:10:44 +01:00
Hector Sanjuan
679108b443
Release 0.3.3: add changelog
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-02-12 21:03:18 +01:00
Hector Sanjuan
a371fa409f
Merge pull request #307 from ipfs/feat/auto-migration
...
Three small state features
2018-02-08 21:52:26 +01:00
Hector Sanjuan
800ebe2aab
Merge pull request #315 from ipfs/fix/daemon-error
...
Fix daemon error
2018-02-08 21:50:23 +01:00
Wyatt Daviau
cf6712ffcc
making allocation flag global
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-02-08 14:47:44 -05:00
Wyatt Daviau
0784802abb
moving upgrade flag to daemon
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-02-08 14:27:43 -05:00
Hector Sanjuan
3c563e8fcc
Merge pull request #313 from ipfs/feat/travis-cache
...
Add cache configuration to .travis.yml
2018-02-08 18:29:55 +01:00
Hector Sanjuan
a315965d38
Add cache configuration to .travis.yml
...
This should speed up builds a bit
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-02-08 12:23:24 +01:00
Hector Sanjuan
310e5e3ba4
Merge pull request #311 from ipfs/fix/cg-tests-jenkins
...
fix conn graph failures
2018-02-02 06:50:54 +01:00
Wyatt Daviau
8f8c3afbd0
fix conn graph failures
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-02-01 17:29:14 -05:00
Wyatt Daviau
2262adf33f
state version command added
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-28 21:25:52 -05:00
Wyatt Daviau
36ab79eb01
upgrade skips upgrading from current state format
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-28 21:25:40 -05:00
Wyatt Daviau
4da9d9a94b
upgrade flag runs upgrades on service launch
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-26 18:16:47 -05:00
Hector Sanjuan
a180f1a5c5
Merge pull request #291 from ipfs/feat/connectivity-graph
...
Feat/connectivity graph
2018-01-26 12:42:18 +01:00
Hector Sanjuan
ebd167edc0
Merge pull request #294 from ipfs/fix/jenkins
...
Fix jenkins tests
2018-01-26 12:40:09 +01:00
Hector Sanjuan
27679926e8
gx publish 0.3.2
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-26 10:39:41 +01:00
Hector Sanjuan
62cd18386c
Release 0.3.2
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-26 10:38:26 +01:00
Hector Sanjuan
11117e5a74
Merge branch '0.3.2/changelog'
2018-01-26 10:28:50 +01:00
Hector Sanjuan
e7048568b8
Merge pull request #303 from ipfs/fix/move-index-up
...
Fix/297
2018-01-26 10:21:43 +01:00
Hector Sanjuan
4d26550e5c
Address comments
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-25 23:34:06 +01:00
Wyatt Daviau
eafc747305
fix/297 Resolve the lack of snapshot pushes:
...
Snapshot saving state commands (upgrade and import)
now save raft config peers as consensus peers in snapshot.
Snapshot index 1 -> 2 when saving from a fresh import to force
replication when bootstrapping.
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-25 16:47:12 -05:00
Hector Sanjuan
21e05f1a49
Captain's log update
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-25 13:03:15 +01:00
Hector Sanjuan
17071540fe
Changelog: 0.3.2
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-25 13:02:57 +01:00
Hector Sanjuan
f4c57d8581
Tests: make api/rest/client bind on random port
...
For jenkins
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-25 12:54:55 +01:00
Hector Sanjuan
8193f7334a
Tests: make rest api test bind on random port
...
For jenkins
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-25 12:09:46 +01:00
Hector Sanjuan
67e505964e
Tests: make ipfshttp connector tests bind on random port
...
For jenkins
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-24 20:17:42 +01:00
Hector Sanjuan
41149348a8
Tests: Make raft tests bind on random port
...
For jenkins
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-24 20:17:32 +01:00
Hector Sanjuan
ddb5da18c9
Tests: Bind testing clusters on random port
...
Jenkins likes this very much.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-24 20:16:55 +01:00
Hector Sanjuan
144729e149
Merge pull request #301 from ipfs/fix/297-state-unmarshal
...
Fix #297 : State unmarshal
2018-01-24 19:55:47 +01:00
Hector Sanjuan
f94faa2ebb
Fix #297 : State unmarshal
...
It seems we have problems deserializing on top of an already
initialized state.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-24 16:52:43 +01:00
ZenGround0
4b26ccd144
Merge branch 'master' into feat/connectivity-graph
2018-01-23 08:34:43 -05:00
Wyatt Daviau
78f14b6d2a
addressing more comments
...
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-23 08:33:12 -05:00
Wyatt Daviau
d2ef32f48f
Testing and polishing connection graph
...
Added go tests
Refactored cluster connect graph to new file
Refactored dot file printing to new repo
Fixed code climate issues
Added sharness test
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-22 10:03:37 -05:00
Wyatt
e712c87570
First draft of ConnectGraph collection:
...
added ConnectGraph type and serialization
added cli command hitting cluster api
added cluster api client method + endpoint calling into rpc
added rpc calling into main cluster component
added clustercomponent's function to collect ConnectGraph
added functionality in ipfsconn to retrieve ipfs swarm peers
added dot file printing given ConnectGraphSerial
License: MIT
Signed-off-by: Wyatt Daviau <wdaviau@cs.stanford.edu>
2018-01-22 09:07:12 -05:00
Hector Sanjuan
8e487cd880
Merge pull request #292 from ipfs/feat/277-min-max-repl-factor
...
Fix #277 : Introduce maximum and minimum replication factor
2018-01-22 10:54:09 +01:00
Hector Sanjuan
4b6ee706e7
Fix #222 : Fix overpinning or underpinning of pins after rejoin
...
The StateSync() function did not take into account that the maptracker
may think that some pinned items are local/remote when they
should not be. In those cases, it needs to trigger re-tracks.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
dcfc962f24
Feat #277 : Address review comments
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
20705eaa09
Feat #277 : Update docs
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
f2efcc3f10
Codeclimate: increase thresholds again. They're too low for Go.
...
In go it doesn't matter if function returns 20 times. We need to do
a lot of error checking and that's how it should be.
Each of those error checks are 3 lines of code
so it also doesn't matter if functions are a bit longer.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
a1ab106fcc
Feat #277 : Improve getCurretPin() call
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
ae1afe3af8
Feat #277 : Avoid re-pinning log entries when the new pin is the same
...
This ensures that we don't re-pin something which is already correctly
pinned with the same allocations.
It also ensures that we do re-pin something when the replication
factor associated to it changes.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
b013850f94
Fear #277 : Add test about wanted < 0
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:24:03 +01:00
Hector Sanjuan
b12138f7ff
Fix #277 : Add support for replication-min and replication-max in ctl
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-19 22:23:34 +01:00
Hector Sanjuan
3c4b2ae27e
Fix #277 : Add tests for replication_min/max
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-16 16:36:06 +01:00
Hector Sanjuan
5f45ba8bce
Fix #277 : Add min a max replication factor to rest API
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-16 16:36:06 +01:00
Hector Sanjuan
4549282cba
Fix #277 : Introduce maximum and minimum replication factor
...
This PR replaces ReplicationFactor with ReplicationFactorMax
and ReplicationFactor min.
This allows a CID to be pinned even though the desired
replication factor (max) is not reached, and prevents triggering
re-pinnings when the replication factor has not crossed the
lower threshold (min).
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-01-16 16:36:06 +01:00