Master role does not switch automaticaly

Thanks. The vital clue is here:

[2020-01-08T11:39:33,488][WARN ][o.e.g.IncrementalClusterStateWriter] [cyres-elas03c] writing cluster state took [57674ms] which is above the warn threshold of [10s]; wrote metadata for [693] indices and skipped [0] unchanged indices

It is taking almost a minute to write out the cluster metadata after the master is elected, which the master considers to be unreasonably slow and it therefore considers itself faulty and stands down. It's kinda right, that's a long time to write out a fairly small amount of data, but with ~700 indices it's not completely unreasonable if your disks aren't that quick.

Can you move to faster disks? If not, I suggest lengthening these timeouts to account for your environment:

cluster.publish.timeout: 90s
cluster.join.timeout: 90s

Work is in progress to trim down the sensitivity to slow disks in https://github.com/elastic/elasticsearch/issues/48701, hopefully to be released soon.