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
Hi, I'm getting the below race condition when emitter disappears and reappears (reconnect). I'm getting it consistently when killing (SIGTERM) emitter.
It looks like the issue is in github.com/eclipse/paho.mqtt.golang however it was potentially fixed in v1.2.0
WARNING: DATA RACE
Read at 0x00c00010cb18 by goroutine 62:
github.com/eclipse/paho%2emqtt%2egolang.keepalive()
/home/dev/go/pkg/mod/github.com/eclipse/[email protected]/ping.go:42 +0x22e
Previous write at 0x00c00010cb18 by goroutine 28:
github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect()
/home/dev/go/pkg/mod/github.com/eclipse/[email protected]/client.go:377 +0x11f8
Goroutine 62 (running) created at:
github.com/eclipse/paho%2emqtt%2egolang.(*client).reconnect()
/home/dev/go/pkg/mod/github.com/eclipse/[email protected]/client.go:374 +0x15fc
Goroutine 28 (running) created at:
github.com/eclipse/paho%2emqtt%2egolang.(*client).internalConnLost()
/home/dev/go/pkg/mod/github.com/eclipse/[email protected]/client.go:465 +0x10c
The text was updated successfully, but these errors were encountered:
paho, master branch. the data race happen because client.onconnect in paho.
removing any onconnect code does work with simple pubsub example.
but, the race also happen in emitter server.
Hi, I'm getting the below race condition when emitter disappears and reappears (reconnect). I'm getting it consistently when killing (SIGTERM) emitter.
It looks like the issue is in
github.com/eclipse/paho.mqtt.golang
however it was potentially fixed in v1.2.0The text was updated successfully, but these errors were encountered: