mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
Support unpaid containers rollback #1539
Labels
No labels
I1
I2
I3
I4
S0
S1
S2
S3
S4
U0
U1
U2
U3
U4
blocked
bug
config
dependencies
discussion
documentation
enhancement
enhancement
epic
feature
go
good first issue
help wanted
neofs-adm
neofs-cli
neofs-cli
neofs-cli
neofs-ir
neofs-lens
neofs-storage
neofs-storage
performance
question
security
task
test
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-node#1539
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 @carpawell on GitHub (Nov 21, 2025).
When an unpaid container is dropped (from SN's storage, not from the whole network) no SN is going to update load reports with zero values (but the container still exists), so no new object can be accepted even if balance > 0.
Expected Behavior
Current Behavior
Very likely, SNs stop reporting values after no container info is found in metabase:
nspcc-dev/neofs-node@a4005c91c9/pkg/local_object_storage/metabase/containers.go (L189-L194), so fake reports are stuck forever.Possible Solution
Have two versions of
DeleteContainer(bool flag maybe): one is for complete container removal (event from FS chain), and one for data cleanup only.Steps to Reproduce (for bugs)
Context
https://github.com/nspcc-dev/neofs-node/pull/3650#discussion_r2545359158
Regression
No
Your Environment
v0.50.0
@roman-khimov commented on GitHub (Nov 21, 2025):
At the same time you can always create a new container.