mirror of
https://github.com/nspcc-dev/neofs-contract.git
synced 2026-03-01 04:28:59 +00:00
Revise log messages of FS chain auto-deployment procedure #149
Labels
No labels
I1
I2
I3
I4
S1
S2
S3
S4
U1
U2
U3
U4
alphabet
audit
balance
blocked
bug
config
container
discussion
documentation
enhancement
feature
go
good first issue
help wanted
neofs
neofsid
netmap
nns
nns
performance
proxy
question
reputation
security
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-contract#149
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 @cthulhu-rider on GitHub (Jul 5, 2023).
according to @carpawell and @AnnaShaleva remarks, logging of Sidechain deployment routine should be improved in terms of severity and message contents. Overall I agree, but procedure contains a LOT of different conditions and cases, and we should analyze them one-by-one accurately. Since log is log and doesn't affect core behavior much, we decided to resolve log messages (both content and severity levels) within this issue.
it may be also useful to wait until first practical use-cases: with them we'll be able to "beautify" log more objectively
@AnnaShaleva commented on GitHub (Jul 5, 2023):
What we need here is to remove (or convert to DEBUG-level) all logs that are related to the non-suitable notary requests received by the auto-deploy routine. This routine listens to all notary requests signed by the committee. Current code writes INFO-level logs in the following situations:
Removedevent received (removal of notary request from poolIMO, all these situations are not an error, these messages are a part of a standard receiving flow, thus I doubt we should log them at all.
@AnnaShaleva commented on GitHub (Jul 5, 2023):
Ref. https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1245762680, https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1252049382, https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1252054120, https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1252055515, https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1252057633.
@AnnaShaleva commented on GitHub (Jul 12, 2023):
Ref. https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1260855622.
@carpawell commented on GitHub (Jul 13, 2023):
https://github.com/nspcc-dev/neofs-node/pull/2408#discussion_r1262190271