From 70a760850fe58b7b221ae97d7b756143ae189f61 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Fri, 12 Jul 2024 15:27:29 +0200 Subject: [PATCH] chore(dsraft): correct comment spelling errors --- .../src/emqx_ds_replication_layer_shard.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer_shard.erl b/apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer_shard.erl index cdd62d874..e3366ca3e 100644 --- a/apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer_shard.erl +++ b/apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer_shard.erl @@ -202,10 +202,10 @@ try_servers([], _Fun, _Args) -> add_local_server(DB, Shard) -> %% NOTE %% Adding local server as "promotable" member to the cluster, which means - %% that it will affect quorum until it is promoted to a voter, which in + %% that it won't affect quorum until it is promoted to a voter, which in %% turn happens when the server has caught up sufficiently with the log. %% We also rely on this "membership" to understand when the server's - %% readiness. + %% ready. ShardServers = shard_servers(DB, Shard), LocalServer = local_server(DB, Shard), case server_info(uid, LocalServer) of