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
parent 6aad774075
commit 382feab7d1
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@
}. }.
%% Write batch. %% 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() :: #{ -type batch() :: #{
?tag := ?BATCH, ?tag := ?BATCH,
?batch_operations := [emqx_ds:operation()], ?batch_operations := [emqx_ds:operation()],
@ -281,7 +281,7 @@ store_batch_atomic(DB, Batch, _Opts) ->
[] -> [] ->
ok; ok;
[_ | _] -> [_ | _] ->
{error, unrecoverable, nonatomic_batch_spans_multiple_storages} {error, unrecoverable, atomic_batch_spans_multiple_shards}
end. end.
-spec get_streams(emqx_ds:db(), emqx_ds:topic_filter(), emqx_ds:time()) -> -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"); %% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License. %% you may not use this file except in compliance with the License.