Skip to content

client hangs on read with default store_params #6

@larroy

Description

@larroy
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");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions