nspcc-dev/neofs-node

How to deal with `REP 0` policy?

Open

#2,042 opened on Nov 11, 2022

 (3 comments) (0 reactions) (0 assignees)Go (49 forks)auto 404
I3S4U4enhancementgood first issueneofs-cli

Repository metrics

Stars
 (36 stars)
PR merge metrics
 (PR metrics pending)

Description

In current implementation zero replication policy is not prohibited by the system:

  • PUT succeeds since it has nothing to do
  • GET fails with OBJECT_NOT_FOUND since there are no replicas

Technically the behavior is expected, but from the user perspective I'd consider this policy as invalid.

Contributor guide