ipfs-cluster/state/mapstate
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
..
map_state_test.go Fix #277: Introduce maximum and minimum replication factor 2018-01-16 16:36:06 +01:00
map_state.go Fix #277: Introduce maximum and minimum replication factor 2018-01-16 16:36:06 +01:00
migrate.go Fix #277: Introduce maximum and minimum replication factor 2018-01-16 16:36:06 +01:00