Просмотр исходного кода

revert(ds): Remove change from the old protocol file

ieQu1 2 лет назад
Родитель
Сommit
465e8a90dd

+ 1 - 18
apps/emqx/src/proto/emqx_persistent_session_ds_proto_v1.erl

@@ -23,8 +23,7 @@
 
     open_iterator/4,
     close_iterator/2,
-    close_all_iterators/2,
-    get_streams/5
+    close_all_iterators/2
 ]).
 
 -include_lib("emqx/include/bpapi.hrl").
@@ -51,22 +50,6 @@ open_iterator(Nodes, TopicFilter, StartMS, IteratorID) ->
         ?TIMEOUT
     ).
 
--spec get_streams(
-    node(),
-    emqx_ds:keyspace(),
-    emqx_ds:shard_id(),
-    emqx_ds:topic_filter(),
-    emqx_ds:time()
-) ->
-    [emqx_ds_storage_layer:stream()].
-get_streams(Node, Keyspace, ShardId, TopicFilter, StartTime) ->
-    erpc:call(
-        Node,
-        emqx_ds_storage_layer,
-        get_streams,
-        [Keyspace, ShardId, TopicFilter, StartTime]
-    ).
-
 -spec close_iterator(
     [node()],
     emqx_ds:iterator_id()

+ 1 - 1
scripts/check-elixir-applications.exs

@@ -1,4 +1,4 @@
-#! /usr/bin/env elixir
+#!/usr/bin/env elixir
 
 defmodule CheckElixirApplications do
   alias EMQXUmbrella.MixProject

+ 1 - 1
scripts/check-elixir-deps-discrepancies.exs

@@ -1,4 +1,4 @@
-#! /usr/bin/env elixir
+#!/usr/bin/env elixir
 
 # ensure we have a fresh rebar.lock
 

+ 1 - 1
scripts/check-elixir-emqx-machine-boot-discrepancies.exs

@@ -1,4 +1,4 @@
-#! /usr/bin/env elixir
+#!/usr/bin/env elixir
 
 defmodule CheckElixirEMQXMachineBootDiscrepancies do
   alias EMQXUmbrella.MixProject

+ 1 - 1
scripts/check_missing_reboot_apps.exs

@@ -1,4 +1,4 @@
-#! /usr/bin/env elixir
+#!/usr/bin/env elixir
 
 alias EMQXUmbrella.MixProject