-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add proxy-get over repl #75
Conversation
false -> lager:info("REPL CS block skip disabled") | ||
end, | ||
|
||
ok = riak_api_pb_service:register(riak_repl_pb_get, 128), |
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.
This can be simplified into one line:
ok = riak_api_pb_service:register(riak_repl_pb_get, 128, 129),
Add tests for the rules too.
@@ -0,0 +1,2 @@ | |||
-define(REPLICATE_CS_USER_OBJECTS, true). |
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.
Is this header really necessary?
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.
I'd be happy to put it in riak_repl.hrl
if that's what you mean, just thought it'd be nice to have it separated out. Or did you mean having a default in a hrl at all?
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.
Yes, why does it need to be in a header at all, considering it is referenced in precisely one module.
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.
Yes good point, fixed in dcbe896
+1 to merge this into the 1.2 branch when above concerns are addressed. |
They were only used in one place, so no point in having them in a hrl.
Manually merged into 1.2 |
See also:
https://github.com/basho/riak-erlang-client/tree/adt-extra-messages <--- MERGED
https://github.com/basho/riak_moss/tree/dip_proxyget
Setup/testing docs:
https://github.com/basho/internal_wiki/wiki/Multidata-Center-Proxy-Gets