Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nhse o32 orkv.i58 backport #60

Open
wants to merge 3 commits into
base: openriak-3.2
Choose a base branch
from

Conversation

martinsumner
Copy link

Bring #59 to 3.2.

Test also backported - OpenRiak/riak_test#36

Optimisations:

- Take the timestamp to the cache after get_stats/0 has returned, so that if get_stats/0 takes > 1s any requests in the queue for riak_kv_http_cache will still use the cache.

- refactor riak_kv_status:aliases/0 to use simple lists rather than orddict.

- remove altogether the sys_monitor_count, it is simply too expensive.  Available as a riak_kv_util module function instead for the experienced operator.
It takes more than 5s on some systems at the moment - and this then dumps an unhelpful crashdump to the user.  Make a longer default timeout, allow the timeout to be passed by the operator, and also return more operator-friendly error on timeout occurring.
@martinsumner
Copy link
Author

This removes a statistic in a minor version release. I think this is acceptable, but will include a specific warning in the release notes and other release announcements. I prefer this to including a dummy statistic which may be misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant