nspcc-dev/neofs-node

cli: Placement bulding error looks unclear

开放

#1,852 创建于 2022年10月7日

 (0 条评论) (0 个反应) (0 位负责人)Go (49 个派生)auto 404
I3S4U4good first issueneofs-cliquestion

仓库指标

星标
 (36 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南