chore(dsraft): fix few spelling errors

Co-Authored-By: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
Andrew Mayorov 2024-08-05 10:44:33 +02:00 committed by Thales Macedo Garitezi
parent b0594271b2
commit 7b85faf12a
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@
}.
%% Write batch.
%% Instances of this type currently form the mojority of the Raft log.
%% Instances of this type currently form the majority of the Raft log.
-type batch() :: #{
?tag := ?BATCH,
?batch_operations := [emqx_ds:operation()],
@ -281,7 +281,7 @@ store_batch_atomic(DB, Batch, _Opts) ->
[] ->
ok;
[_ | _] ->
{error, unrecoverable, nonatomic_batch_spans_multiple_storages}
{error, unrecoverable, atomic_batch_spans_multiple_shards}
end.
-spec get_streams(emqx_ds:db(), emqx_ds:topic_filter(), emqx_ds:time()) ->

View File

@ -1,5 +1,5 @@
%%--------------------------------------------------------------------
%% Copyright (c) 20212024 EMQ Technologies Co., Ltd. All Rights Reserved.
%% Copyright (c) 2024 EMQ Technologies Co., Ltd. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.