Browse Source

*: 'ignore_lease' to detach value with PutRequest

sharat 9 years ago
parent
commit
a9bf593bdc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      etcdserver/etcdserverpb/rpc.proto

+ 4 - 0
etcdserver/etcdserverpb/rpc.proto

@@ -427,6 +427,10 @@ message PutRequest {
   // If ignore_value is set, etcd updates the key using its current value.
   // Returns an error if the key does not exist.
   bool ignore_value = 5;
+
+  // If ignore_lease is set, etcd updates the key using its current lease.
+  // Returns an error if the key does not exist.
+  bool ignore_lease = 6;
 }
 
 message PutResponse {