Open lukeramsden opened 7 years ago
Here is how beego fixed it.. Bug started appearing in Go 1.6.
A sync.Mutex would also work, just need to find the race condition, and lock/unlock around them On Mon, 17 Apr 2017 at 3:21 am Luke notifications@github.com wrote:
Here is how beego fixed it. https://github.com/astaxie/beego/commit/226e54e0d8d81b287a67949d9559572be5ccc363. Bug started appearing in Go 1.6.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpillora/cloud-gox/issues/11#issuecomment-294363283, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmr8zTkRHqsKVhxqXT37iKLRdUWNcByks5rwk4UgaJpZM4M-raf .
I tried to compile github.com/GetStream/Stream-Example-Go-Cassandra-API/ with a fresh deploy, and it crashed with error
fatal error: concurrent map read and map write
during compilation. Happens randomly, sometimes it compiles three and then crashes, sometimes compiles none.