Comments (7)
cc @whyrusleeping who took other notes, i think.
from ipfs-cluster.
@hsanjuan maybe close after you've read it / processed it as you want. I will try it one more time with my own machines soon and get you more feedback 👍
from ipfs-cluster.
wish it gave me more info on connectivity (who's connected to who?)
--enc json
shows more info about the peerset as seen by each peer.
looks like right now consensus is clearing (committed and done) after the pin entry
Not sure, about this, ctl pin ls
shows the consensus state and allocations. Adding to consensus is phase 1 and happens fast. ctl status
shows local status aggregated from cluster peers which, after a successful consensus entry, pin the hash. That is phase 2.
from ipfs-cluster.
My notes:
- cluster-ctl peers ls doesnt actually tell me which address was used to connect to a given peer
- it would be nice if it showed which multiaddr my active connection was using
- Reconnecting peers seems to mess with consensus, did the following:
- start node1
- start node2, join to node1
- node2 pins object, it pins to both machines
- node3 joins
- node1 pins object, it seems to work on all machines
- node3 leaves
- node2 leaves
- node3 rejoins, fails with 'consensus start timing out'
- Pinning seems to be weird, I see pin state get updated, my node doesnt pin anything yet, then i see a log message saying that my node failed to verify it had the right pins or something (forgot to write down the exact message), and then immediately after that, a message saying my node pinned the thing sucessfully
from ipfs-cluster.
@whyrusleeping by joins
and leaves
, do you mean using --bootstrap
or peer add
? and did you use peer rm
, or just ctrl-c the nodes?
Regarding the log messages, it's just confusing because it prints an error when it checks if ipfs has a pin before pinning (it won't pin if it has it already). When Ipfs does not have a pin it returns a 500 (which is indistinguishable from more serious errors though...). Anyway I'll make sure this gets fixed, it's been in the back of my head for a while.
from ipfs-cluster.
@hsanjuan we were just ctrl+c'ing the nodes. For connects though we used peer add
from ipfs-cluster.
@whyrusleeping I don't manage to reproduce this. Not with 3 nodes at least. With 4 nodes yes. If you kill 3 of them and bring up one, it won't start because there is no majority to elect a raft leader (2 votes out of 4 peers).
By the way I have removed the weird pinning message you saw.
from ipfs-cluster.
Related Issues (20)
- I can't disable unpin parameter for the ipfshttp in docker compose file? HOT 3
- Fetching files from IPFS-cluster using CID HOT 1
- How to listen on a WebSocket or WebTransport or WebRTC address, so that I can dial to the cluster from helia browser node HOT 7
- IPFS cluster client's add endpoint's response HOT 1
- Error while adding multiple files in the IPFS cluster based private network HOT 1
- Error in adding and removing files from IPFS nodes HOT 1
- Pinning multiple files when adding multiple files like Kubo HOT 1
- Pins not replicated, while clusters sees each other HOT 3
- Does ipfs-cluster support byzantine tolerance? HOT 2
- ipfs-cluster-ctl peers ls errors on unknown protocol HOT 1
- Support configurable pinning only on untrusted peers
- Docker image for ARM HOT 1
- v1.0.7 - [FATAL tini (7)] exec /usr/local/bin/custom-entrypoint.sh failed: Exec format error HOT 3
- feat: support enabling Helia on nodejs as a node in an ipfs-cluster HOT 3
- Failure of `ipfs-cluster-ctl ipfs gc` results in inconsistent storage files. HOT 1
- Connection to Kubo via Unix domain socket fails with HTTP error HOT 2
- ipfs-cluster doesn't maintain /dns4 ipfshttp.node_multiaddress entries as DNS addresses. HOT 3
- Pebble supports 32-bits now HOT 1
- Pebble datastore deadlocked HOT 15
- ipfs-cluster-follow does not report all informer metrics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipfs-cluster.