I first mentioned the idea of graceful departure in the node aging thread. What do people think of this idea?
If a node leaves the network, there’s a need to secure the data they cared for as soon as possible, before other nodes leave and quorum may be lost. This rearrangement comes at the cost to adding new data to the network; new data must wait for the existing data to be secured.
The aim is to reduce network load when nodes leave the network.
The way this might happen is nodes may announce their imminent departure to the rest of the group, eg ‘I will leave this group in 75s’. This allows the other nodes in the group to prepare for this event using low-priority messages to try to redistribute that data before the node departs.
If the group doesn’t get there in time, or the node departs earlier than expected, or doesn’t announce departure at all, the rearrangement shifts into high priority mode.
I think this would be a very advantageous feature, not high priority on the development list, but certainly one to consider.