You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/01/09 19:16:35 UTC
[GitHub] surekhasaharan commented on issue #6826: Concurrency bug in
DruidSchema.refreshSegmentsForDataSource()
surekhasaharan commented on issue #6826: Concurrency bug in DruidSchema.refreshSegmentsForDataSource()
URL: https://github.com/apache/incubator-druid/issues/6826#issuecomment-452821612
Thanks @leventov , I want to clarify that even if `segment` is removed, the reference to `segment` is still there. So where do you think, it can cause a NPE ? Though a null check for `dataSourceSegments` can be added before `SegmentMetadataHolder holder = dataSourceSegments.get(segment);`. Does that address your concern ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org