Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add timeouts to get, put, and delete #38

Merged
merged 2 commits into from

2 participants

@evanmcc

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

@evanmcc evanmcc was assigned
@seancribbs seancribbs was assigned
@seancribbs

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

@seancribbs

Also, please move the dep on riak_api if necessary.

@seancribbs

Again, :+1: to merge.

@evanmcc evanmcc merged commit 2505ff1 into master

1 check passed

Details default The Travis build passed
@seancribbs seancribbs removed their assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 26, 2013
  1. @evanmcc
Commits on Apr 2, 2013
  1. @evanmcc

    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
View
3  src/riak_kv.proto
@@ -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
View
2  src/riak_pb.app.src
@@ -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.