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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to