File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,9 @@ min-slaves-max-lag <%= $min_slaves_max_lag %>
591591#
592592# With slow disks and fast (large bandwidth) networks, diskless replication
593593# works better.
594+ <%- if Integer($facts['redis_server_version'].split('.')[0]) > 7 -%>
594595repl-diskless-sync <%= bool2str($repl_diskless_sync, 'yes', 'no') -%>
596+ <%- end -%>
595597
596598################################## SECURITY ###################################
597599
@@ -884,7 +886,9 @@ latency-monitor-threshold <%= $latency_monitor_threshold %>
884886#
885887# By default, the extended latency monitoring is enabled since the overhead
886888# of keeping track of the command latency is very small.
889+ <%- if Integer($facts['redis_server_version'].split('.')[0]) > 7 -%>
887890latency-tracking <%= bool2str($latency_tracking, 'yes', 'no') -%>
891+ <%- end -%>
888892
889893############################# Event notification ##############################
890894
You can’t perform that action at this time.
0 commit comments