etcdserver, etcdserverpb: add MinModRevision and MaxModRevision options to Range

This commit is contained in:
Anthony Romano
2016-09-12 14:24:25 -07:00
parent 840f4d48c8
commit af0264d2e6
5 changed files with 313 additions and 211 deletions

View File

@@ -1865,6 +1865,16 @@
"format": "int64",
"description": "limit is a limit on the number of keys returned for the request."
},
"max_mod_revision": {
"type": "string",
"format": "int64",
"description": "max_mod_revision is the upper bound for returned key mod revisions; all keys with\ngreater mod revisions will be filtered away."
},
"min_mod_revision": {
"type": "string",
"format": "int64",
"description": "min_mod_revision is the lower bound for returned key mod revisions; all keys with\nlesser mod revisions will be filtered away."
},
"range_end": {
"type": "string",
"format": "byte",