How to deal with REP 0 policy? #874

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

Originally created by @cthulhu-rider on GitHub (Nov 11, 2022).

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.

Originally created by @cthulhu-rider on GitHub (Nov 11, 2022). 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.
Author
Owner

@carpawell commented on GitHub (Nov 11, 2022):

If a solution to that issue is somewhere near the policy validation in any of our components, #2038 is related to that too, and could be solved together.

@carpawell commented on GitHub (Nov 11, 2022): If a solution to that issue is somewhere near the policy validation in any of our components, #2038 is related to that too, and could be solved together.
Author
Owner

@fyrchik commented on GitHub (Nov 11, 2022):

To me it looks like a nice case to test our system (nobody panics, no space is used).
But we could also validate such things in neofs-cli.

@fyrchik commented on GitHub (Nov 11, 2022): To me it looks like a nice case to test our system (nobody panics, no space is used). But we could also validate such things in neofs-cli.
Author
Owner

@roman-khimov commented on GitHub (Dec 21, 2023):

A check in CLI can be nice to have (with ability to --force).

@roman-khimov commented on GitHub (Dec 21, 2023): A check in CLI can be nice to have (with ability to `--force`).
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#874
No description provided.