You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/12 15:01:54 UTC

[GitHub] [pulsar-client-go] zzzming commented on issue #858: concurrent map iteration and map write

zzzming commented on issue #858:
URL: https://github.com/apache/pulsar-client-go/issues/858#issuecomment-1276327719

   There is a new feature in Go 1.8 to detect concurrent edit and access to a map. It's described at https://tip.golang.org/doc/go1.8#mapiter
   The problem was reported (or panicked) by go map. 
   This should have been reported by a race detector. 
   I will do a PR to fix it, probably use mutex to protect the map access.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org