IPFS Cluster v1.1.2 is a maintenance release which tunes internal pubsub
configuration to be less demanding and resilient, as well as exposing some
of said configuration options.
It additionally contains a bugfix in go-ds-crdt for an issue that can cause
divergence between peers (ipfs/go-ds-crdt#241). The
issue manifests itself when a value has been removed (i.e. when doing pin rm
on cluster) and re-added on a different replica before the removal operation
has been applied there. It may manifest itself in incosistencies in pin
information depending on the peer. The fix involves running an automatic
migration that ensures all the pin informations are aligned and that requires
a write operation for every pin that has ever been deleted pins to ensure that
cluster is returning the right values. This happens automatically on the first
boot after upgrade.
List of changes
Breaking changes
There are no breaking changes on this release.
Features
- Gossipsub: optimize for diverse clusters with many peers | ipfs/ipfs-cluster#2071
- ipfshttp: improve logic to update informer metrics | ipfs/ipfs-cluster#2073
Bug fixes
- crdt: Bubble bugfix for diverging states | ipfs/ipfs-cluster#2115
Other changes
- Dependency upgrades | ipfs/ipfs-cluster#2074 | ipfs/ipfs-cluster#2075 | ipfs/ipfs-cluster#2115 | ipfs/ipfs-cluster#2117
Upgrading notices
Configuration changes
The main cluster
configuration section now contains a pubsub
sub-section
which, when not present, takes the following defaults:
"pubsub": {
"seen_messages_ttl": "30m0s",
"heartbeat_interval": "10s",
"d_factor": 4,
"history_gossip": 2,
"history_length": 6,
"flood_publish": false
},
Details on the meaning of the options can be obtained in the
pubsub documentation
or in the ipfs-cluster documentation for the Config object.
REST API
No changes.
Pinning Service API
No changes.
IPFS Proxy API
No changes.
Go APIs
No relevant changes.
Other
As mentioned, the crdt datastore will run a migration on first start. A message will be printed when it finishes.
What's Changed
- build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #2072
- Dependency upgrades by @hsanjuan in #2074
- ipfshttp: improve logic to update informer metrics by @hsanjuan in #2073
- gossipsub: optimize for diverse clusters with many peers by @hsanjuan in #2071
- Update go-libp2p by @hsanjuan in #2075
- chore: update to go-ds-pebble v0.4.0 by @lidel in #2099
- build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by @dependabot in #2113
- Dependency upgrades by @hsanjuan in #2115
- Changelog for v1.1.2 by @hsanjuan in #2118
- Dependency upgrades by @hsanjuan in #2117
Full Changelog: v1.1.1...v1.1.2