Explorar o código

etcdserverpb: add more field into rangeResponse

Xiang Li %!s(int64=10) %!d(string=hai) anos
pai
achega
98ceb3cdbd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      etcdserver/etcdserverpb/rpc.proto

+ 2 - 0
etcdserver/etcdserverpb/rpc.proto

@@ -59,6 +59,8 @@ message RangeResponse {
   ResponseHeader header = 1;
   repeated storagepb.KeyValue kvs = 2;
   bytes consistent_token = 3;
+  // more indicates if there are more keys to return in the requested range.
+  bool more = 4;
 }
 
 message PutRequest {