chore(dsraft): fix few spelling errors
Co-Authored-By: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
parent
6aad774075
commit
382feab7d1
|
@ -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()) ->
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue