Commit 6b7c8688 authored by James Hughes's avatar James Hughes
Browse files

Merge pull request #5 from Seagate/features/key-range-limit

Features/key range limit
parents ddd5825a 1d938d6a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -897,9 +897,8 @@ hmac: "..."

Error Cases:

* `code = INTERNAL_ERROR`:
	* The response message is larger than the allowed size. This could be because the number of keys in the range is too great to fit in one message. In this case, `statusMessage` will be "Response too large".
	* This code could also indicate that a malfunction ocurred on the device.
* `code = INVALID_REQUEST`
    * The `maxReturned` exceeded the limit, the `status.statusMessage` will be `Key limit exceeded.`

Edge Cases:

@@ -1358,6 +1357,7 @@ command {
        maxOutstandingReadRequests = ...
        maxOutstandingWriteRequests = ...
        maxMessageSize = ...
        maxKeyRangeCount = ...
      }
    }
  }
+1 −0
Original line number Diff line number Diff line
@@ -440,6 +440,7 @@ option java_outer_classname = "Kinetic";
			optional uint32 maxOutstandingReadRequests = 6;
			optional uint32 maxOutstandingWriteRequests = 7;
			optional uint32 maxMessageSize = 8;
			optional uint32 maxKeyRangeCount = 9;
		}

	}