refactor: rename module

This commit is contained in:
Thales Macedo Garitezi 2023-08-11 10:05:00 -03:00
parent 9463e271c0
commit e8d7bb9a67
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,6 @@
{emqx_conf,3}. {emqx_conf,3}.
{emqx_dashboard,1}. {emqx_dashboard,1}.
{emqx_delayed,1}. {emqx_delayed,1}.
{emqx_ds,1}.
{emqx_eviction_agent,1}. {emqx_eviction_agent,1}.
{emqx_exhook,1}. {emqx_exhook,1}.
{emqx_ft_storage_exporter_fs,1}. {emqx_ft_storage_exporter_fs,1}.
@ -42,6 +41,7 @@
{emqx_node_rebalance_evacuation,1}. {emqx_node_rebalance_evacuation,1}.
{emqx_node_rebalance_status,1}. {emqx_node_rebalance_status,1}.
{emqx_persistent_session,1}. {emqx_persistent_session,1}.
{emqx_persistent_session_ds,1}.
{emqx_plugins,1}. {emqx_plugins,1}.
{emqx_prometheus,1}. {emqx_prometheus,1}.
{emqx_resource,1}. {emqx_resource,1}.

View File

@ -106,7 +106,7 @@ add_subscription(TopicFilterBin, DSSessionID) ->
-spec open_iterator_on_all_nodes(emqx_topic:words(), emqx_ds:time(), emqx_ds:iterator_id()) -> ok. -spec open_iterator_on_all_nodes(emqx_topic:words(), emqx_ds:time(), emqx_ds:iterator_id()) -> ok.
open_iterator_on_all_nodes(TopicFilter, StartMS, IteratorID) -> open_iterator_on_all_nodes(TopicFilter, StartMS, IteratorID) ->
Nodes = emqx:running_nodes(), Nodes = emqx:running_nodes(),
Results = emqx_ds_proto_v1:open_iterator(Nodes, TopicFilter, StartMS, IteratorID), Results = emqx_persistent_session_ds_proto_v1:open_iterator(Nodes, TopicFilter, StartMS, IteratorID),
%% TODO: handle errors %% TODO: handle errors
true = lists:all(fun(Res) -> Res =:= {ok, ok} end, Results), true = lists:all(fun(Res) -> Res =:= {ok, ok} end, Results),
ok. ok.

View File

@ -14,7 +14,7 @@
%% limitations under the License. %% limitations under the License.
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
-module(emqx_ds_proto_v1). -module(emqx_persistent_session_ds_proto_v1).
-behaviour(emqx_bpapi). -behaviour(emqx_bpapi).