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

client hangs on read with default store_params #7

Open
larroy opened this issue Nov 4, 2013 · 0 comments
Open

client hangs on read with default store_params #7

larroy opened this issue Nov 4, 2013 · 0 comments

Comments

@larroy
Copy link

larroy commented Nov 4, 2013

The following code hangs on IO while reading response

riak::cluster cluster(riak::node("127.0.0.1", "8087"));
riak::client client(cluster.make_client());
riak::basic_bucket<std::string> bucket = client.bucket<std::string>("bucket");
bucket.del("foo").rw(2)();
std::string value = bucket.fetch("foo").r(3)();
BOOST_REQUIRE(value == "");
value = bucket.store("foo", "bar").w(1)();
value = bucket.fetch("foo").r(3)();
BOOST_REQUIRE(value == "bar");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant