nspcc-dev / nspcc-dev/neofs-node

How to deal with `REP 0` policy?

Open
#2,042 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue I3 neofs-cli S4 U4
Dominant language
Go
Stars
38
Forks
51
Avg merge
1d 20h
Merged PRs (30d)
38

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how replication policies are validated and how PUT and GET handle a replication factor of zero. Clarify whether zero should be rejected as invalid, then define completion around consistent behavior and tests for policy creation, PUT, and GET.

Written by the indexing model from the issue text.

Assessment

Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.