From 1bdd0e52b6470a82e0e5a09bf413ef750fddf17e Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 8 Aug 2023 19:03:10 +0300 Subject: [PATCH 1/2] *: Regenerate docs Signed-off-by: Pavel Karpy --- proto-docs/container.md | 3 +++ proto-docs/lock.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/proto-docs/container.md b/proto-docs/container.md index b518a67..176da6c 100644 --- a/proto-docs/container.md +++ b/proto-docs/container.md @@ -98,6 +98,9 @@ Statuses: response immediately. After a new block is issued in sidechain, request is verified by Inner Ring nodes. After one more block in sidechain, the container is added into smart contract storage. +NOTE: a container deletion leads to the removal of every object in that +container, regardless of any restrictions on the object removal (e.g. lock/locked +object would be also removed). Statuses: - **OK** (0, SECTION_SUCCESS): \ diff --git a/proto-docs/lock.md b/proto-docs/lock.md index 3bbbf79..615ef9d 100644 --- a/proto-docs/lock.md +++ b/proto-docs/lock.md @@ -29,6 +29,8 @@ 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. Lock object MUST have expiration epoch. It is impossible to delete a lock object via ObjectService.Delete RPC call. +Deleting a container containing lock/locked objects results in their removal +too, regardless of their expiration epochs. | Field | Type | Label | Description | From a803236e98022317af991138ca155582eb9cb804 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 8 Aug 2023 19:03:35 +0300 Subject: [PATCH 2/2] netmap: Add `Version` node attribute Signed-off-by: Pavel Karpy --- CHANGELOG.md | 6 ++++++ netmap/types.proto | 2 ++ proto-docs/netmap.md | 2 ++ 3 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81f2852..62dbf20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [Unreleased] + +### Added +- Well-known `Version` node attribute (#267) + ## [2.14.0] - 2022-09-23 - Anmado (안마도, 鞍馬島) ### Added @@ -485,3 +490,4 @@ Bump major release [2.13.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.12.0...v2.13.0 [2.13.1]: https://github.com/nspcc-dev/neofs-api/compare/v2.13.0...v2.13.1 [2.14.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.13.1...v2.14.0 +[Unreleased]: https://github.com/nspcc-dev/neofs-api/compare/v2.14.0...master diff --git a/netmap/types.proto b/netmap/types.proto index 6163687..9f9b1e9 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -206,6 +206,8 @@ message NodeInfo { // Node's preferred way for communications with external clients. // Clients SHOULD use these addresses if possible. // Must contain a comma-separated list of multi-addresses. + // * Version + // Node implementation's version in a free string form. // // For detailed description of each well-known attribute please see the // corresponding section in NeoFS Technical Specification. diff --git a/proto-docs/netmap.md b/proto-docs/netmap.md index 2c7545d..85d04c1 100644 --- a/proto-docs/netmap.md +++ b/proto-docs/netmap.md @@ -448,6 +448,8 @@ explicitly set: Node's preferred way for communications with external clients. Clients SHOULD use these addresses if possible. Must contain a comma-separated list of multi-addresses. +* Version + Node implementation's version in a free string form. For detailed description of each well-known attribute please see the corresponding section in NeoFS Technical Specification.