Do you mean to remove the setters and always create a new `SegmentMetadataHolder` object when any of the member needs update. And replace the entry in `segmentMetadataInfo` map in `DruidSchema` every time update is required. Is that better then using the `lock`. I wonder if a `ReadWriteLock` is better here ?
[ Full content available at: https://github.com/apache/incubator-druid/pull/6094 ] This message was relayed via gitbox.apache.org for [email protected]
