Add new method for listing containers via stream #1452

Open
opened 2024-10-28 15:13:57 +00:00 by elebedeva · 0 comments
Member

There is a problem with container list command when the number of containers exceeds a certain amount (about 130k).

$ frostfs-cli -c work-cfg.yml container list
rpc error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4894749 vs. 4194304)

Describe the solution you'd like

Add new method returning stream for listing containers.

Changes are expected in repos:

  • frostfs-api
  • frostfs-api-go
  • frostfs-sdk-go
  • frostfs-node
## Is your feature request related to a problem? Please describe. There is a problem with `container list` command when the number of containers exceeds a certain amount (about 130k). ``` $ frostfs-cli -c work-cfg.yml container list rpc error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4894749 vs. 4194304) ``` ## Describe the solution you'd like Add new method returning stream for listing containers. Changes are expected in repos: - [ ] frostfs-api - [ ] frostfs-api-go - [ ] frostfs-sdk-go - [ ] frostfs-node
elebedeva added the
triage
label 2024-10-28 15:13:57 +00:00
fyrchik added the
frostfs-node
label 2024-10-28 15:51:58 +00:00
fyrchik added this to the v0.44.0 milestone 2024-10-28 15:52:02 +00:00
elebedeva was assigned by fyrchik 2024-10-28 15:52:08 +00:00
fyrchik removed the
triage
label 2024-10-28 15:52:12 +00:00
fyrchik modified the milestone from v0.44.0 to vNext 2024-10-28 15:52:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1452
No description provided.