Remove all usage of sync.Map
#2281
Labels
Epic
Issue used to track development status of a complex feature, aggregates several issues
sync.Map
#2281
sync.Map
proved troublesome since it would not be clearing deleted tries.It was rather hard to debunk when doing #1973 even with various profiling.
This may not bring an advantage memory usage-wise, but could also be one / the main cause of our memory problems.
Anyway, it would be good to remove this doubt.
We should remove all usages of it (except when heavily read and no deletion) and use a mutex protected standard map instead.
The text was updated successfully, but these errors were encountered: