From ce6276a2e86f6bc3d98858039928e0a2767c74e0 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Fri, 14 Oct 2016 21:30:25 +0100 Subject: [PATCH] etcdserver: document DeleteRangeRequest prefixes There was missing info about deleting prefixes in the proto docs for DeleteRangeRequest. Closes #6641. --- etcdserver/etcdserverpb/rpc.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etcdserver/etcdserverpb/rpc.proto b/etcdserver/etcdserverpb/rpc.proto index afe42cb04..842dfa636 100644 --- a/etcdserver/etcdserverpb/rpc.proto +++ b/etcdserver/etcdserverpb/rpc.proto @@ -436,6 +436,8 @@ message DeleteRangeRequest { bytes key = 1; // range_end is the key following the last key to delete for the range [key, range_end). // If range_end is not given, the range is defined to contain only the key argument. + // If range_end is one bit larger than the given key, then the range is all + // the all keys with the prefix (the given key). // If range_end is '\0', the range is all keys greater than or equal to the key argument. bytes range_end = 2;