*: regenerate proto with typo fix "acquisition"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.4
parent
9c6d930565
commit
a9804cdf75
|
@ -20,7 +20,7 @@ The lock service exposes client-side locking facilities as a gRPC interface.
|
||||||
| Field | Description | Type |
|
| Field | Description | Type |
|
||||||
| ----- | ----------- | ---- |
|
| ----- | ----------- | ---- |
|
||||||
| name | name is the identifier for the distributed shared lock to be acquired. | bytes |
|
| name | name is the identifier for the distributed shared lock to be acquired. | bytes |
|
||||||
| lease | lease is the ID of the lease that will be attached to ownership of the lock. If the lease expires or is revoked and currently holds the lock, the lock is automatically released. Calls to Lock with the same lease will be treated as a single acquistion; locking twice with the same lease is a no-op. | int64 |
|
| lease | lease is the ID of the lease that will be attached to ownership of the lock. If the lease expires or is revoked and currently holds the lock, the lock is automatically released. Calls to Lock with the same lease will be treated as a single acquisition; locking twice with the same lease is a no-op. | int64 |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -107,7 +107,7 @@
|
||||||
"lease": {
|
"lease": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "lease is the ID of the lease that will be attached to ownership of the\nlock. If the lease expires or is revoked and currently holds the lock,\nthe lock is automatically released. Calls to Lock with the same lease will\nbe treated as a single acquistion; locking twice with the same lease is a\nno-op."
|
"description": "lease is the ID of the lease that will be attached to ownership of the\nlock. If the lease expires or is revoked and currently holds the lock,\nthe lock is automatically released. Calls to Lock with the same lease will\nbe treated as a single acquisition; locking twice with the same lease is a\nno-op."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -50,7 +50,7 @@ type LockRequest struct {
|
||||||
// lease is the ID of the lease that will be attached to ownership of the
|
// lease is the ID of the lease that will be attached to ownership of the
|
||||||
// lock. If the lease expires or is revoked and currently holds the lock,
|
// lock. If the lease expires or is revoked and currently holds the lock,
|
||||||
// the lock is automatically released. Calls to Lock with the same lease will
|
// the lock is automatically released. Calls to Lock with the same lease will
|
||||||
// be treated as a single acquistion; locking twice with the same lease is a
|
// be treated as a single acquisition; locking twice with the same lease is a
|
||||||
// no-op.
|
// no-op.
|
||||||
Lease int64 `protobuf:"varint,2,opt,name=lease,proto3" json:"lease,omitempty"`
|
Lease int64 `protobuf:"varint,2,opt,name=lease,proto3" json:"lease,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ message LockRequest {
|
||||||
// lease is the ID of the lease that will be attached to ownership of the
|
// lease is the ID of the lease that will be attached to ownership of the
|
||||||
// lock. If the lease expires or is revoked and currently holds the lock,
|
// lock. If the lease expires or is revoked and currently holds the lock,
|
||||||
// the lock is automatically released. Calls to Lock with the same lease will
|
// the lock is automatically released. Calls to Lock with the same lease will
|
||||||
// be treated as a single acquistion; locking twice with the same lease is a
|
// be treated as a single acquisition; locking twice with the same lease is a
|
||||||
// no-op.
|
// no-op.
|
||||||
int64 lease = 2;
|
int64 lease = 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue