cherami-server
cherami-server copied to clipboard
ConcurrentMap size calculation is wrong?
Please see the followings:
-
Remove decrement the counter with no checking of whether key exists or not: https://github.com/uber/cherami-server/blob/master/common/concurrentmap.go#L173
-
Put increase the counter with no checking of whether key exists or not: https://github.com/uber/cherami-server/blob/master/common/concurrentmap.go#L148