You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that dragonfly ignore all config set currently, but some of configs should be dynamic changed. e.g: masterauth / maxmemory / keys_output_limit / enable_multi_shard_sync / master_connect_timeout_ms / master_reconnect_timeout_ms / replication_acks_interval / save_schedule / cluster_announce_ip / cluster_mode .
For detail, you may send redis command like:
127.0.0.1:6379> replicaof 127.0.0.1 7788
(error) ERR could not greet master Bad message
127.0.0.1:6379> config set masterauth master-password
127.0.0.1:6479> replicaof 127.0.0.1 7788
OK
And when dragonfly get the config set api we need:
check if the config is valid
call absl::SetFlags to set flags by the given value
if any fiber need dynamic reload config, notify and reload them.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have noticed that dragonfly ignore all config set currently, but some of configs should be dynamic changed. e.g:
masterauth
/maxmemory
/keys_output_limit
/enable_multi_shard_sync
/master_connect_timeout_ms
/master_reconnect_timeout_ms
/replication_acks_interval
/save_schedule
/cluster_announce_ip
/cluster_mode
.For detail, you may send redis command like:
And when dragonfly get the
config set api
we need:Beta Was this translation helpful? Give feedback.
All reactions