Procházet zdrojové kódy

Merge pull request #6655 from kragniz/range_end-docs

etcdserver: document DeleteRangeRequest prefixes
Xiang Li před 9 roky
rodič
revize
698a789644
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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;