Shunning

I’ve been manually deleting the records for 4 nodes since yesterday, just to see if they get shunned by the network. Interestingly, they don’t. Instead they get re-filled with data little by little.

4 Likes

Do they get the same records back again or different ones?

1 Like

I don’t know.

I might have a look at that then. Although I think I ought to focus on running quality nodes rather than deliberately messing with them given the size of the network at the moment! I suppose messing with 1 doesn’t hurt.

1 Like

It might, though!

I didn’t see any shunning, but the estimated network size fell to 12 nodes! If I remember correctly, the team once talked about making some clever fix for this kind of misbehavior. So I may have been removed from routing table without a notice.

But I’m not sure as soon it also happened that my home wifi got unusable. It might be because of the nodes using more and more resources, but it might be anything else too. Anyway, tossing all my nodes and rebooting router fixed it.

The node fills itself by requesting records it thinks it should have. So even if shunned it will still get records to hold.

Nodes are shunned by individual nodes, there is no central database of shunned nodes. To be completely shunned requires your node to piss off every node even remotely close to it in XOR space. Over 70 but likely hundreds.

The difference is that a shunned node will be getting limited amount of requests routed to it as more and more nodes refuse to acknowledge its existence when asked for nodes closer to a xor address. This results in less and less records being uploaded to it from clients and as a result less payments.

One way of looking at it that you have your neighbours and lots of friends in the large city. You’ll end up pissing off your large neighbourhood (70 households) over time but quicker than you piss off your friends around the city/world. If you refuse to store data then eventually you will piss off all who would talk to you.

Thus i am absolutely not surprise by your experience. Also it may take a while to even be recognised by another node that data is missing.

3 Likes

I am just surprised to see the “shunned by” number in Formicaio staying at pure 0, no matter what I do. (@bochaco, I guess the number reflects a measure given by the node, or is it possible that there is disconnect there?)

I have had various problems, like network congestion, laptop shutting down on it’s own, and it seems that nothing results in shunning. So I was wondering what then could cause shunning and that’s why I deleted data, to see if that would move the needle.

Has anyone gotten shunned and if so, what led to that?

1 Like

It is from metrics. I also see it at zero for all nodes

It used to be that a node would be sent a message from another node saying it will be shunned by that node. Now maybe that is no longer to save on number of messages

4 Likes

Not that it would matter much at this point, when the network is going to get a huge overhaul, but it could have been a useful meter to gauge if everything is OK in your setup. And having it persistently at 0 even if you are shunned, gives a wrong assurance that everything is fine.

I started to experience a lack of payments a few days ago, and that made me wonder if everything was OK with my nodes. It seemed so, but you can never be sure. Payments is the only definite meter, or at least I think so, but it’s also a very difficult meter to read due to random nature of the payments.

I didn’t get any payments for about 3 days with about 20-30 nodes, but I don’t know if that was expected or not. The estimated network size form my nodes was about the official number, until I started to F with deleting data. Then the estimation dropped to 12, even though I had also nodes that did keep all the data. To get an average of 12 nodes is a bit weird if I have 4 bad nodes and 16 good ones. Maybe the network blocks the IP of someone who is deleting data, thus kicking out all the nodes from there?

Anyway, who cares, this is all about to change very soon :man_shrugging:

2 Likes

No changes soon, just the announcement of the changes is soon

3 Likes