-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
I4No visible changesNo visible changesS3Minimally significantMinimally significantU3RegularRegularbugSomething isn't workingSomething isn't workingneofs-storageStorage node application issuesStorage node application issuessecurityAffects securityAffects security
Description
Expected Behavior
Object has full size, header+payload, that's what we store and that's the disk space used by this object.
Current Behavior
Only payload size is counted for container size metrics and submissions.
err = changeContainerInfo(tx, obj.GetContainerID(), int(obj.PayloadSize()), 1) |
Possible Solution
Count headers as well.
Think of counting temporary objects like locks and tombstones, they do require space and it's a vector for DoS.
Context
#3519, basic income.
Regression
No. It was always like that since 4157800.
Metadata
Metadata
Assignees
Labels
I4No visible changesNo visible changesS3Minimally significantMinimally significantU3RegularRegularbugSomething isn't workingSomething isn't workingneofs-storageStorage node application issuesStorage node application issuessecurityAffects securityAffects security