diff --git a/src/replication.c b/src/replication.c index 0f0b47ac1c..5eccf876ec 100644 --- a/src/replication.c +++ b/src/replication.c @@ -2728,7 +2728,7 @@ void replStreamProgressCallback(size_t offset, int readlen, time_t *last_progres if (server.loading_process_events_interval_bytes && (offset + readlen) / server.loading_process_events_interval_bytes > offset / server.loading_process_events_interval_bytes && - now - *last_progress_callback > server.loading_process_events_interval_miliseconds) { + now - *last_progress_callback > server.loading_process_events_interval_milliseconds) { replicationSendNewlineToPrimary(); processEventsWhileBlocked(); *last_progress_callback = now; diff --git a/src/server.c b/src/server.c index f51c28319f..562a710ac0 100644 --- a/src/server.c +++ b/src/server.c @@ -2037,7 +2037,7 @@ void initServerConfig(void) { server.primary_repl_offset = 0; server.fsynced_reploff_pending = 0; server.rdb_client_id = -1; - server.loading_process_events_interval_miliseconds = LOADING_PROCESS_EVENTS_INTERVAL_DEFAULT; + server.loading_process_events_interval_milliseconds = LOADING_PROCESS_EVENTS_INTERVAL_DEFAULT; /* Replication partial resync backlog */ server.repl_backlog = NULL; diff --git a/src/server.h b/src/server.h index 0be2388393..bb1e4d60bf 100644 --- a/src/server.h +++ b/src/server.h @@ -1753,7 +1753,7 @@ struct valkeyServer { off_t loading_loaded_bytes; time_t loading_start_time; off_t loading_process_events_interval_bytes; - time_t loading_process_events_interval_miliseconds; + time_t loading_process_events_interval_milliseconds; /* Fields used only for stats */ time_t stat_starttime; /* Server start time */ long long stat_numcommands; /* Number of processed commands */ diff --git a/tests/unit/auth.tcl b/tests/unit/auth.tcl index cc24b39ac6..972235295a 100644 --- a/tests/unit/auth.tcl +++ b/tests/unit/auth.tcl @@ -72,7 +72,7 @@ start_server {tags {"auth_binary_password external:skip"}} { # Configure the replica with masterauth set loglines [count_log_lines 0] $slave config set primaryauth "abc" - $slave config set dual-conn-sync-enabled + $slave config set dual-conn-sync-enabled $rdbchann $slave slaveof $master_host $master_port # Verify replica is not able to sync with master