Tree based static voting protocol for replica consistency