`ConcurrentSkipListMap.containsKey()` is implemented as below:

```
    public boolean containsKey(Object key) {
        return doGet(key) != null;
    }
```

and this can cause the race condition if we remove `lock` of this class that 
the segment exists when `containsKey()` is called but doesn't exist when 
`get()` gets called in the below.

[ Full content available at: 
https://github.com/apache/incubator-druid/pull/6094 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to