Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add timeouts to get, put, and delete #38

Merged
merged 2 commits into from

2 participants

Evan Vigil-McClanahan Sean Cribbs
Evan Vigil-McClanahan

So that clients can specify them if they have strict latency requirements.

Evan Vigil-McClanahan evanmcc was assigned
Sean Cribbs seancribbs was assigned
Sean Cribbs
Owner

:+1:

Sean Cribbs
Owner

Reminder, please merge to '1.4' and bump/tag the version (probably will be 1.4.0.2) after merging to master.

Sean Cribbs
Owner

Also, please move the dep on riak_api if necessary.

Sean Cribbs
Owner

Again, :+1: to merge.

Evan Vigil-McClanahan evanmcc merged commit 2505ff1 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 26, 2013
  1. Evan Vigil-McClanahan
Commits on Apr 2, 2013
  1. Evan Vigil-McClanahan

    bump version

    evanmcc authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +3 −0  src/riak_kv.proto
  2. +1 −1  src/riak_pb.app.src
3  src/riak_kv.proto
View
@@ -53,6 +53,7 @@ message RpbGetReq {
optional bytes if_modified = 7; // fail if the supplied vclock does not match
optional bool head = 8; // return everything but the value
optional bool deletedvclock = 9; // return the tombstone's vclock, if applicable
+ optional uint32 timeout = 10;
}
// Get Response - if the record was not found there will be no content/vclock
@@ -77,6 +78,7 @@ message RpbPutReq {
optional bool if_not_modified = 9;
optional bool if_none_match = 10;
optional bool return_head = 11;
+ optional uint32 timeout = 12;
}
// Put response - same as get response with optional key if one was generated
@@ -98,6 +100,7 @@ message RpbDelReq {
optional uint32 pr = 7;
optional uint32 pw = 8;
optional uint32 dw = 9;
+ optional uint32 timeout = 10;
}
// Delete response - not defined, will return a RpbDelResp on success or RpbErrorResp on failure
2  src/riak_pb.app.src
View
@@ -1,7 +1,7 @@
{application, riak_pb,
[
{description, "Riak Protocol Buffers Messages"},
- {vsn, "1.3.0"},
+ {vsn, "1.4.0.2"},
{registered, []},
{applications, [
kernel,
Something went wrong with that request. Please try again.