|
@@ -106,7 +106,7 @@ get_anti_entropy_settings(Module) ->
|
|
init([]) ->
|
|
init([]) ->
|
|
%% create ETS tables
|
|
%% create ETS tables
|
|
%% entries have structure {Name, Pid, Meta, Clock, MonitorRef, Node}
|
|
%% entries have structure {Name, Pid, Meta, Clock, MonitorRef, Node}
|
|
- ets:new(syn_registry_by_name, [set, public, named_table, {read_concurrency, true}, {write_concurrency, true}]),
|
|
|
|
|
|
+ ets:new(syn_registry_by_name, [ordered_set, public, named_table, {read_concurrency, true}, {write_concurrency, true}]),
|
|
%% entries have format {{Pid, Name}, Meta, Clock, MonitorRef, Node}
|
|
%% entries have format {{Pid, Name}, Meta, Clock, MonitorRef, Node}
|
|
ets:new(syn_registry_by_pid, [ordered_set, public, named_table, {read_concurrency, true}, {write_concurrency, true}]),
|
|
ets:new(syn_registry_by_pid, [ordered_set, public, named_table, {read_concurrency, true}, {write_concurrency, true}]),
|
|
%% entries have format {{GroupName, Pid}, Meta, MonitorRef, Node}
|
|
%% entries have format {{GroupName, Pid}, Meta, MonitorRef, Node}
|