[proto]RangeResponse.more

12 views
Skip to first unread message

Sherwin Sheng

unread,
Mar 26, 2019, 3:43:54 AM3/26/19
to etcd-dev
Hello etcd-dev.

i am trying to implement a Range method using API, but the RangeResponse made me so puzzled.
when will "more" be true? and if it's true, what should i do to ensure get all keys in range.
hope for your help.
Thanks.


message RangeResponse {
ResponseHeader header = 1;
// kvs is the list of key-value pairs matched by the range request.
// kvs is empty when count is requested.
repeated mvccpb.KeyValue kvs = 2;
// more indicates if there are more keys to return in the requested range.
bool more = 3;
// count is set to the number of keys within the range when requested.
int64 count = 4;
}

Jingyi Hu

unread,
Mar 26, 2019, 2:08:45 PM3/26/19
to Sherwin Sheng, etcd-dev

--
You received this message because you are subscribed to the Google Groups "etcd-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etcd-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sherwin Sheng

unread,
Mar 26, 2019, 11:10:37 PM3/26/19
to etcd-dev
Thanks for your help, Jingyi :)

在 2019年3月27日星期三 UTC+8上午2:08:45,Jingyi Hu写道:
Reply all
Reply to author
Forward
0 new messages