etcdserverpb: add 'prev_kb' to WatchCreateRequest

This commit is contained in:
Gyu-Ho Lee 2016-10-07 14:20:46 -07:00
parent c859c97ee2
commit 4a35b1b20a

View File

@ -574,6 +574,9 @@ message WatchCreateRequest {
// wish to recover a disconnected watcher starting from a recent known revision.
// The etcd server may decide how often it will send notifications based on current load.
bool progress_notify = 4;
// If prev_kv is set, created watcher gets the previous KV before the event happens.
// If the previous KV is already compacted, nothing will be returned.
bool prev_kv = 6;
}
message WatchCancelRequest {