You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the new capability override {riak_kv, object_hash_version}, I noticed that once I set it in advanced.conf, the value persists even after the override has been removed.
I expected riak_core_capability:get({riak_kv, object_hash_version}). to return undefined when no override.
Suspected Cause
@bsparrow435 tells me that the capability gets persisted in an ETS table and won't update in the management tick:
ah but maybe_update_tick just looks at the cached version of the ring compared to the one on disk and only reloads if it's different
so without a ring event, i dont think it will ever re-override the capability
The text was updated successfully, but these errors were encountered:
Basho-JIRA
changed the title
Capabilities override persists after change to advanced.conf
Capabilities override persists after change to advanced.conf [JIRA: RIAK-2816]
Oct 11, 2016
While testing the new capability override
{riak_kv, object_hash_version}
, I noticed that once I set it inadvanced.conf
, the value persists even after the override has been removed.Observed behavior on riak-ee_2.2.0rc8
Add the following to /etc/riak/advanced.conf:
riak start && riak attach
After reverting change to advanced.config, removing override, and restarting node:
Expected behavior
I expected
riak_core_capability:get({riak_kv, object_hash_version}).
to returnundefined
when no override.Suspected Cause
@bsparrow435 tells me that the capability gets persisted in an ETS table and won't update in the management tick:
The text was updated successfully, but these errors were encountered: