nspcc-dev/neofs-node

cli: Placement bulding error looks unclear

Aperta

#1852 aperta il 7 ott 2022

 (0 commenti) (0 reazioni) (0 assegnatari)Go (49 fork)auto 404
I3S4U4good first issueneofs-cliquestion

Metriche repository

Star
 (36 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor