-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels