You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run our shisui node with -race flag, we found a data race in table(the method name and the line number in the picture is the same with file in geth).
the nextTime field of revalidationList may be read and write in the same time, beacuse these methods run in different goroutines.
type revalidationList struct {
nodes []*tableNode
nextTime mclock.AbsTime
interval time.Duration
name string
}
I'd like to make a pr to fix this.
The text was updated successfully, but these errors were encountered:
System information
Geth version:
latest
OS & Version: OSX
Steps to reproduce the behaviour
When we run our shisui node with -race flag, we found a data race in table(the method name and the line number in the picture is the same with file in geth).
the
nextTime
field of revalidationList may be read and write in the same time, beacuse these methods run in different goroutines.I'd like to make a pr to fix this.
The text was updated successfully, but these errors were encountered: