-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Here
livepeer-data/health/record.go
Line 90 in cfda3ec
| s.records = sync.Map{} |
is data race.
Here
| msgChan <- StreamMessage{consumerCtx, message} |
it can write to
msgChan after it was closed herelivepeer-data/pkg/event/stream_consumer.go
Line 111 in cfda3ec
| close(msgChan) |
Here
Line 136 in cfda3ec
| return record.LastStatus, nil |
and here
Line 106 in cfda3ec
| status := record.LastStatus |
LastStatus being copied not under the lock.Metadata
Metadata
Assignees
Labels
No labels