Skip to content

Commit b8476e4

Browse files
authored
Merge pull request #224 from carpawell/fix/clarify-container-removal
Fix/Clarify container removal
2 parents 813c04b + 315a7a1 commit b8476e4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

container/service.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ service ContainerService {
3030
// response immediately. After a new block is issued in sidechain, request is
3131
// verified by Inner Ring nodes. After one more block in sidechain, the container
3232
// is added into smart contract storage.
33+
// NOTE: a container deletion leads to the removal of every object in that
34+
// container, regardless of any restrictions on the object removal (e.g. lock/locked
35+
// object would be also removed).
3336
//
3437
// Statuses:
3538
// - **OK** (0, SECTION_SUCCESS): \

lock/types.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import "refs/types.proto";
1111
// lock object is limited similar to regular objects in
1212
// `__NEOFS__EXPIRATION_EPOCH` attribute. Lock object MUST have expiration epoch.
1313
// It is impossible to delete a lock object via ObjectService.Delete RPC call.
14+
// Deleting a container containing lock/locked objects results in their removal
15+
// too, regardless of their expiration epochs.
1416
message Lock {
1517
// List of objects to lock. Must not be empty or carry empty IDs.
1618
// All members must be of the `REGULAR` type.

0 commit comments

Comments
 (0)