-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Description
As per the docs:
The list of configuration parameters supported by CONFIG SET can be obtained issuing a CONFIG GET * command, that is the symmetrical command used to obtain information about the configuration of a running Redis instance.
When I run CONFIG GET * on a fresh instance, I get this output (v6.2.4):
output
rdbchecksum yes daemonize no io-threads-do-reads no lua-replicate-commands yes always-show-logo no protected-mode no rdbcompression yes rdb-del-sync-files no activerehashing yes stop-writes-on-bgsave-error yes set-proc-title yes dynamic-hz yes lazyfree-lazy-eviction no lazyfree-lazy-expire no lazyfree-lazy-server-del no lazyfree-lazy-user-del no lazyfree-lazy-user-flush no repl-disable-tcp-nodelay no repl-diskless-sync no gopher-enabled no aof-rewrite-incremental-fsync yes no-appendfsync-on-rewrite no cluster-require-full-coverage yes rdb-save-incremental-fsync yes aof-load-truncated yes aof-use-rdb-preamble yes cluster-replica-no-failover no cluster-slave-no-failover no replica-lazy-flush no slave-lazy-flush no replica-serve-stale-data yes slave-serve-stale-data yes replica-read-only yes slave-read-only yes replica-ignore-maxmemory yes slave-ignore-maxmemory yes jemalloc-bg-thread yes activedefrag no syslog-enabled no cluster-enabled no appendonly no cluster-allow-reads-when-down no crash-log-enabled yes crash-memcheck-enabled yes use-exit-on-panic no disable-thp yes cluster-allow-replica-migration yes replica-announced yes aclfileunixsocket
pidfile
replica-announce-ip
slave-announce-ip
masteruser
cluster-announce-ip
syslog-ident
redis
dbfilename
dump.rdb
appendfilename
appendonly.aof
server_cpulistbio_cpulist
aof_rewrite_cpulist
bgsave_cpulist
ignore-warnings
proc-title-template
{title} {listen-addr} {server-mode}
masterauthrequirepass
supervised
no
syslog-facility
local0
repl-diskless-load
disabled
loglevel
notice
maxmemory-policy
noeviction
appendfsync
everysec
oom-score-adj
no
acl-pubsub-default
allchannels
sanitize-dump-payload
no
databases
16
port
6379
io-threads
1
auto-aof-rewrite-percentage
100
cluster-replica-validity-factor
10
cluster-slave-validity-factor
10
list-max-ziplist-size
-2
tcp-keepalive
300
cluster-migration-barrier
1
active-defrag-cycle-min
1
active-defrag-cycle-max
25
active-defrag-threshold-lower
10
active-defrag-threshold-upper
100
lfu-log-factor
10
lfu-decay-time
1
replica-priority
100
slave-priority
100
repl-diskless-sync-delay
5
maxmemory-samples
5
maxmemory-eviction-tenacity
10
timeout
0
replica-announce-port
0
slave-announce-port
0
tcp-backlog
511
cluster-announce-bus-port
0
cluster-announce-port
0
cluster-announce-tls-port
0
repl-timeout
60
repl-ping-replica-period
10
repl-ping-slave-period
10
list-compress-depth
0
rdb-key-save-delay
0
key-load-delay
0
active-expire-effort
1
hz
10
min-replicas-to-write
0
min-slaves-to-write
0
min-replicas-max-lag
10
min-slaves-max-lag
10
maxclients
10000
active-defrag-max-scan-fields
1000
slowlog-max-len
128
acllog-max-len
128
lua-time-limit
5000
cluster-node-timeout
15000
slowlog-log-slower-than
10000
latency-monitor-threshold
0
proto-max-bulk-len
536870912
stream-node-max-entries
100
repl-backlog-size
1048576
maxmemory
0
hash-max-ziplist-entries
512
set-max-intset-entries
512
zset-max-ziplist-entries
128
active-defrag-ignore-bytes
104857600
hash-max-ziplist-value
64
stream-node-max-bytes
4096
zset-max-ziplist-value
64
hll-sparse-max-bytes
3000
tracking-table-max-keys
1000000
client-query-buffer-limit
1073741824
repl-backlog-ttl
3600
auto-aof-rewrite-min-size
67108864
tls-port
0
tls-session-cache-size
20480
tls-session-cache-timeout
300
tls-cluster
no
tls-replication
no
tls-auth-clients
yes
tls-prefer-server-ciphers
no
tls-session-caching
yes
tls-cert-filetls-key-file
tls-key-file-pass
tls-client-cert-file
tls-client-key-file
tls-client-key-file-pass
tls-dh-params-file
tls-ca-cert-file
tls-ca-cert-dir
tls-protocols
tls-ciphers
tls-ciphersuites
logfile
watchdog-period
0
dir
/data
save
3600 1 300 100 60 10000
client-output-buffer-limit
normal 0 0 0 slave 268435456 67108864 60 pubsub 33554432 8388608 60
unixsocketperm
0
slaveofnotify-keyspace-events
bind
oom-score-adj-values
0 200 800
There is no replicaof in the output, although it is supported by CONFIG SET command. Every other replica setting is here (along with its corresponding slave alias). Is this by design? If it's not, I'd be happy to send a PR 🙂