Skip to content

Commit a699f28

Browse files
Merge pull request #342 from nspcc-dev/rm/estimations-p2p-api
2 parents b7548cf + 297a2c5 commit a699f28

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Removed
1010

1111
### Deprecated
12+
- Storage load estimations P2P API (#341)
1213

1314
## [2.18.0] - 2025-07-09
1415

container/service.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ service ContainerService {
8787
// - **OK** (0, SECTION_SUCCESS): \
8888
// estimation of used space has been successfully announced;
8989
// - Common failures (SECTION_FAILURE_COMMON).
90+
//
91+
// DEPRECATED: every storage node must send storage load directly to `container`
92+
// contract.
9093
rpc AnnounceUsedSpace(AnnounceUsedSpaceRequest) returns (AnnounceUsedSpaceResponse);
9194
}
9295

@@ -366,6 +369,9 @@ message GetExtendedACLResponse {
366369
}
367370

368371
// Announce container used space
372+
//
373+
// DEPRECATED: every storage node must send storage load directly to `container`
374+
// contract.
369375
message AnnounceUsedSpaceRequest {
370376
// Container used space announcement body.
371377
message Body {
@@ -401,6 +407,9 @@ message AnnounceUsedSpaceRequest {
401407
}
402408

403409
// Announce container used space
410+
//
411+
// DEPRECATED: every storage node must send storage load directly to `container`
412+
// contract.
404413
message AnnounceUsedSpaceResponse {
405414
// `AnnounceUsedSpaceResponse` has an empty body because announcements are
406415
// one way communication.

proto-docs/container.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ Statuses:
176176
estimation of used space has been successfully announced;
177177
- Common failures (SECTION_FAILURE_COMMON).
178178

179+
DEPRECATED: every storage node must send storage load directly to `container`
180+
contract.
181+
179182
| Name | Input | Output |
180183
| ---- | ----- | ------ |
181184
| AnnounceUsedSpace | [AnnounceUsedSpaceRequest](#neo.fs.v2.container.AnnounceUsedSpaceRequest) | [AnnounceUsedSpaceResponse](#neo.fs.v2.container.AnnounceUsedSpaceResponse) |
@@ -187,6 +190,9 @@ Statuses:
187190
### Message AnnounceUsedSpaceRequest
188191
Announce container used space
189192

193+
DEPRECATED: every storage node must send storage load directly to `container`
194+
contract.
195+
190196

191197
| Field | Type | Label | Description |
192198
| ----- | ---- | ----- | ----------- |
@@ -224,6 +230,9 @@ Announcement contains used space information for a single container.
224230
### Message AnnounceUsedSpaceResponse
225231
Announce container used space
226232

233+
DEPRECATED: every storage node must send storage load directly to `container`
234+
contract.
235+
227236

228237
| Field | Type | Label | Description |
229238
| ----- | ---- | ----- | ----------- |

0 commit comments

Comments
 (0)