Explorar o código

Merge pull request #6655 from kragniz/range_end-docs

etcdserver: document DeleteRangeRequest prefixes
Xiang Li %!s(int64=9) %!d(string=hai) anos
pai
achega
698a789644
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      etcdserver/etcdserverpb/rpc.proto

+ 2 - 0
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;