mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
8f8fad10df
this test is not meant to be part of the main riak_test giddyup suites but it is useful for measuring certain properties of cluster metadata.
10 lines
337 B
Erlang
10 lines
337 B
Erlang
-module(riak_core_broadcast_intercepts).
|
|
-compile(export_all).
|
|
-include("intercept.hrl").
|
|
|
|
global_send(Msg, Peers) when is_list(Peers) ->
|
|
[global_send(Msg, P) || P <- Peers];
|
|
global_send(Msg, P) ->
|
|
?I_INFO("sending through proxy"),
|
|
gen_server:cast({global, cluster_meta_proxy_server}, {node(), riak_core_broadcast, P, Msg}).
|