go-tarantool icon indicating copy to clipboard operation
go-tarantool copied to clipboard

add pool split-brain protection

Open KaymeKaydex opened this issue 1 year ago • 3 comments

now the pool will not react in any way to the fact that 2 masters have appeared in the single master topology

I propose to introduce a double master type of behavior and return errors by default instead of executing a request to the pool

KaymeKaydex avatar Oct 01 '24 07:10 KaymeKaydex

How would you propose to implement this?

oleg-jukovec avatar Oct 01 '24 21:10 oleg-jukovec

Now I assume that the best solution would be some processing on the pool balancer interface. Get the total number of masters from them and make policies that will decide what to do in this case

however, I assume that this is blocked by the solution with balancers #400 . I tried to correctly prepare this interface in one go, but this clearly requires more effort

KaymeKaydex avatar Oct 18 '24 15:10 KaymeKaydex

I believe this policy will not allow you to completely protect against split brain, but it will allow you to quickly stop it if this was not intended

KaymeKaydex avatar Oct 18 '24 15:10 KaymeKaydex