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

Add new backend capability for Riak r_object use #552

Conversation

slfritchie
Copy link
Contributor

Add the optional riak_kv backend capability to pass Riak r_object records to/from the backend rather than binary blobs that are serialized/unserialized by riak_kv_vnode.

Also, rearrange the QuickCheck tests to permit easier testing of the fs2 backend.

Also, add backend-specific bucket & key name generators and
fix type spec typo
@slfritchie
Copy link
Contributor Author

NOTE: Branches are apparently hard. This should be merged to master, not the base branch that GitHub is thinking of.

@ghost ghost assigned slfritchie May 16, 2013
{erl_opts, [warnings_as_errors, {parse_transform, lager_transform}]}.
{erl_opts, [warnings_as_errors,
{parse_transform, lager_transform},
{d, 'TEST_FS2_BACKEND_IN_RIAK_KV'}]}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what this define is used for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For testing riak_kv_fs2_backend.erl, which is in the CS repo.

@jrwest
Copy link
Contributor

jrwest commented May 16, 2013

backend_eqc still passes (using mem. backend) with changes. ran a few riak tests (like verify_riak_object_reformat and mapred_rt_verify) against it and all passed. Changes seem fine. Would like to see couple of style comments I left addressed but other than that +1.

EDIT: any reason to not re-submit this PR against master?

@slfritchie
Copy link
Contributor Author

Closing with commit 146e3ca (the result of a merge conflict, which I fixed, EUnit tests passing)

@slfritchie slfritchie closed this May 17, 2013
@ghost ghost assigned seancribbs May 29, 2013
@seancribbs seancribbs deleted the slf-backend-capability-enc+no_get branch April 1, 2015 23:32
@seancribbs seancribbs removed their assignment May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants