Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty containers produce audit results #659

Closed
alexvanin opened this issue Jul 1, 2021 · 2 comments · Fixed by #668
Closed

Empty containers produce audit results #659

alexvanin opened this issue Jul 1, 2021 · 2 comments · Fixed by #668
Assignees
Labels
bug Something isn't working neofs-ir Inner Ring node application issues
Milestone

Comments

@alexvanin
Copy link
Contributor

In neofs-dev-env with neofs-node v0.22.0 I see these logs:

2021-07-01T17:04:12.486Z        info    audit/process.go:85     select storage groups for audit {"epoch": 117, "cid": "7X9hUZBZzCQRhB1USME51FrMpn9j9DkdBEfbtnzEujKV", "amount": 0}
2021-07-01T17:04:12.486Z        debug   auditor/exec.go:21      executing PoR check...  {"container ID": "7X9hUZBZzCQRhB1USME51FrMpn9j9DkdBEfbtnzEujKV"}
2021-07-01T17:04:12.486Z        debug   auditor/exec.go:21      executing PoP check...  {"container ID": "7X9hUZBZzCQRhB1USME51FrMpn9j9DkdBEfbtnzEujKV"}
2021-07-01T17:04:12.486Z        debug   auditor/exec.go:21      executing PDP check...  {"container ID": "7X9hUZBZzCQRhB1USME51FrMpn9j9DkdBEfbtnzEujKV"}
2021-07-01T17:04:12.486Z        debug   auditor/context.go:195  writing audit report... {"container ID": "7X9hUZBZzCQRhB1USME51FrMpn9j9DkdBEfbtnzEujKV"}
2021-07-01T17:04:12.492Z        debug   client/client.go:120    neo client invoke       {"method": "put", "tx_hash": "64a265d12bc195859b44c55b92dcd8e06037289dfeaf32102cba0c61242fa03b"}

As you can see this container contains zero storage groups, however it produces audit result. Is is expected?
/cc @cthulhu-rider @realloc

@realloc
Copy link

realloc commented Jul 1, 2021

I don't think that a container without storage groups has to pass audit. Looks like a bug.

@cthulhu-rider
Copy link
Contributor

I guess it was done to prove that container was processed by IR, not ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working neofs-ir Inner Ring node application issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants