[#667] writecache: Add logs for report error func in tests #689
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#689
Loading…
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-node:feature/667-cache_unittest_logs"
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?
This pull-request does not resolve the bug for the issue but because the test is flaky and it is hard to reproduce it locally I suggested this might help to trace the error
@ -33,2 +36,3 @@
return WithReportErrorFunc(func(string, error) {
return WithReportErrorFunc(func(msg string, err error) {
cnt.Add(1)
testlogger.Debug("Report error func: "+msg, zap.Error(err))
Why this
Report error func:
prefix? I think we might just useWarn
witherror_counter
field, as we already do in the engine.Alright. Let's use
Warn
message without the prefix. Fixed437e5fa5ca
tob31d1a108d