This commit is contained in:
2025-07-17 14:47:18 +02:00
parent 5a4c09ec54
commit e6ef8f36f1

View File

@ -42,7 +42,7 @@ sentinel current-epoch 0
{{- $ndeFQDN := printf "%s.%s" $ndeHostname $domain }}
{{- $nodeID := sha1sum $ndeHostname }}
{{- if (ne $fqdn $ndeFQDN) }}
sentinel {{ printf "known-sentinel {{ $master_name }} %s %s %s" $ndeFQDN $sentinel_port $nodeID }}
sentinel {{ printf "known-replica {{ $master_name }} %s %s" $ndeFQDN $port }}
sentinel {{ printf "known-sentinel $master_name %s %s %s" $ndeFQDN $sentinel_port $nodeID }}
sentinel {{ printf "known-replica $master_name %s %s" $ndeFQDN $port }}
{{- end}}
{{- end}}