mirror of
https://github.com/nspcc-dev/neofs-testcases.git
synced 2026-03-01 04:29:19 +00:00
Replication failure test #319
Labels
No labels
I1
I2
I3
I4
S0
S1
S1
S2
S3
S4
U0
U0
U1
U2
U3
U4
blocked
bug
dependencies
discussion
documentation
enhancement
enhancement
enhancement
epic
feature
good first issue
help wanted
performance
question
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-testcases#319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Nov 15, 2024).
Is your feature request related to a problem? Please describe.
I'm always frustrated when we don't have a test for put failure scenario.
Describe the solution you'd like
REP 1 CBF 4(orREP 2, but that requires more objects), have nodes failing requests (@carpawell can tell how to do that), push some number (10?) of objects into the node (the probability of hitting the relay-only scenario is 3/4 forREP 1 CBF 4), check that put never succeeds (with 0.43.0 there will be cases where it does).Additional context
https://github.com/nspcc-dev/neofs-node/pull/3014
https://github.com/nspcc-dev/neofs-node/issues/2948
@carpawell commented on GitHub (Nov 15, 2024):
The test needs two sets of nodes: one that belongs to some container and one that does not (e.g.
REP 1 CBF 1). Then there should be some locked object X that has been put and protected from deletion. Then try to delete X but send a request to a node that does not belong to a container, it will have to redirect the request without checking any lock status. In this case we think it will work OK (no error but the object will not be deleted obviously) with 0.43.0 version but will fail (correctly) with the current master.My suggestion differs a little from the issue's, but I believe it is easier to implement.
If anything goes wrong with the provided scenario (it does not fail when it should or vice versa) tell me, I will recheck.
@roman-khimov commented on GitHub (Nov 28, 2024):
Let's wait for https://github.com/nspcc-dev/neofs-node/issues/952 here.