mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
use ts stats when testing ts node
This commit is contained in:
parent
a11541ca75
commit
9b3a1509b9
@ -399,7 +399,16 @@ get_and_update(Pid, map) ->
|
||||
|| I <- lists:seq(1, 10) ].
|
||||
|
||||
all_stats(Node) ->
|
||||
common_stats() ++ product_stats(rt:product(Node)).
|
||||
common_stats() ++ product_stats(rt:product(Node)) ++ maybe_ts_stats(binary:match(rtdev:get_version(current),<<"ts">>)).
|
||||
|
||||
maybe_ts_stats(nomatch) ->
|
||||
[];
|
||||
|
||||
maybe_ts_stats(_) ->
|
||||
[
|
||||
<<"riak_ql_version">>,
|
||||
<<"riak_shell_version">>
|
||||
].
|
||||
|
||||
common_stats() ->
|
||||
[
|
||||
@ -687,8 +696,6 @@ common_stats() ->
|
||||
<<"precommit_fail">>,
|
||||
<<"protobuffs_version">>,
|
||||
<<"public_key_version">>,
|
||||
<<"riak_ql_version">>,
|
||||
<<"riak_shell_version">>,
|
||||
<<"read_repairs">>,
|
||||
<<"read_repairs_counter">>,
|
||||
<<"read_repairs_counter_total">>,
|
||||
|
Loading…
Reference in New Issue
Block a user