-
Notifications
You must be signed in to change notification settings - Fork 94
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
Warn in startup if dvv_enabled is false [JIRA: RCS-224] #1176
base: develop
Are you sure you want to change the base?
Conversation
For completeness, one more assertion of |
add check on lww=false, too. Also, result of |
Ooops, dialyzer. |
b0b07dc
to
e67db50
Compare
Okay, pleased dialyzer |
I added following lines to riak.conf and start riak and riak-cs, then got warning about
Configuration is wrong? |
I also tested with this config:
My test result: https://gist.github.com/kuenishi/eeb601889e985a6072fb My conclusion: it's like a Riak bug in PB API. |
Found the culprit: https://github.com/basho/riak_pb/blob/develop/src/riak_pb_codec.erl#L241-L299 The decoder ignores |
Then, this PR will be deferred to 2.1.1? |
Opened basho/riak_pb#127 as a right fix. We'll have to work on workaround, too... |
If fortunately that is included in Riak 2.1.2, I'd be happy but will push my workaround. |
@@ -57,14 +55,11 @@ stop(_State) -> | |||
sanity_check(true, {ok, true}) -> | |||
riak_cs_sup:start_link(); | |||
sanity_check(false, _) -> | |||
_ = lager:error("You must update your Riak CS app.config. Please see the" | |||
_ = lager:error("You must update your Riak CS riak-cs.conf. Please see the" | |||
"release notes for more information on updating you" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to add white spaces at the end of these two lines because concatenated string is shown in the log.
Dropping this off of 2.1.0 because it's silly to connect to HTTP port just for checking dvv_enabled. Will revive this after basho/riak_pb#127 is merged. |
This is on-hold because of riak kv side issue. This is worth to put in future version of riak_cs. |
No description provided.