Skip to content

Commit

Permalink
[#221] lock: Clarify lock object usage
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
  • Loading branch information
carpawell authored and realloc committed Jun 2, 2022
1 parent 64ab86a commit e31fcad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lock/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import "refs/types.proto";

// Lock objects protects a list of objects from being deleted. The lifetime of a
// lock object is limited similar to regular objects in
// `__NEOFS__EXPIRATION_EPOCH` attribute.
// `__NEOFS__EXPIRATION_EPOCH` attribute. Lock object MUST have expiration epoch.
// It is impossible to delete a lock object via ObjectService.Delete RPC call.
message Lock {
// List of objects to lock. Must not be empty or carry empty IDs.
// All members must be of the `REGULAR` type.
Expand Down

0 comments on commit e31fcad

Please sign in to comment.