cli: Placement bulding error looks unclear #775

Open
opened 2025-12-28 17:20:39 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Oct 7, 2022).

I formulated an a priori unenforceable network storage policy by making the number of replicas greater than the current number of nodes. I called neofs-cli container nodes command to check. Origin error was

not enough nodes to SELECT from: ''

While not enough nodes looks clear to me, selection part looks not, what empty string do we have here? I propose to clarify the case. Note that the error message is produces by NeoFS SDK Go lib.

P.S. the case can be spread to other CLI commands which build container placement.

Originally created by @cthulhu-rider on GitHub (Oct 7, 2022). I formulated an a priori unenforceable network storage policy by making the number of replicas greater than the current number of nodes. I called `neofs-cli container nodes` command to check. Origin error was ``` not enough nodes to SELECT from: '' ``` While `not enough nodes` looks clear to me, selection part looks not, what empty string do we have here? I propose to clarify the case. Note that the error message is produces by NeoFS SDK Go lib. P.S. the case can be spread to other CLI commands which build container placement.
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
nspcc-dev/neofs-node#775
No description provided.