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

Feature/ bag support #853

Closed
wants to merge 25 commits into from
Closed

Feature/ bag support #853

wants to merge 25 commits into from

Conversation

shino
Copy link
Contributor

@shino shino commented May 8, 2014

To enable multibag feature.

@shino shino added this to the 1.5.0 milestone May 8, 2014
@shino shino self-assigned this May 8, 2014
shino added 24 commits May 20, 2014 17:15
Because bucket records are used in user recoreds stored in Riak,
introducing its new version requires rolling upgrade of all riak-cs
nodes with cs_version trick.

rcs_bucket_v2 had the additional field "manifest_bag", which is used
only in storage calculation. In storage calculation, bucket objects
fetch are added and bag_id's are now extracted from them.  This adds
some GET calls to Riak but they are much less costly compared to
map-reduce.
tools.mk.git at commit e631fca1fd366461022e108315dac6032d1c36fb
…onment

- confirming no active manifests and
- deleting MP-initiated manifests
@shino shino changed the title WIP bag support Fe bag support May 20, 2014
@shino shino changed the title Fe bag support Feature/ bag support May 20, 2014
@@ -61,7 +90,7 @@ case UseEEDeps of
{package_install_user, \"riakcs\"}.
{package_install_group, \"riak\"}.
{package_install_user_desc, \"Riak CS user\"}.
{package_commands, {list, [[{name, \"riak-cs\"}], [{name, \"riak-cs-access\"}], [{name, \"riak-cs-gc\"}], [{name, \"riak-cs-storage\"}], [{name, \"riak-cs-stanchion\"}], [{name, \"riak-cs-cinfo\"}], [{name, \"riak-cs-debug\"}]]}}.
{package_commands, {list, [[{name, \"riak-cs\"}], [{name, \"riak-cs-access\"}], [{name, \"riak-cs-gc\"}], [{name, \"riak-cs-storage\"}], [{name, \"riak-cs-stanchion\"}], [{name, \"riak-cs-cinfo\"}], [{name, \"riak-cs-debug\"}], [{name, \"riak-cs-multibag\"}]]}}.
Copy link
Contributor

Choose a reason for hiding this comment

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

This line will conflict against riak-cs-admin patch.

[Pid];
start_block_servers(RiakcPid, MaxNumServers) ->
case start_link() of
-spec start_block_servers(lfs_manifest(), pid(), pos_integer()) -> [pid()].
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a good chance to rename this function .

@shino
Copy link
Contributor Author

shino commented May 28, 2014

Close this in favor of #870

@shino shino closed this May 28, 2014
@shino shino deleted the feature/bag-support branch June 3, 2014 02:30
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.

2 participants