Closed SimonSK closed 6 years ago
@zzma Yes. It still fails sometimes. Using read lock around the affected line did not solve the issue. I'm going to try changing the mutex to the normal one (currently RWMutex
is used). The rest of the geth code seems to use that without causing problems.
Changed the lock around the hashmap to Mutex
. Also, added lock/unlock around the entry being read.
LGTM
Fix for concurrent map read/write Error message: