Jackie-Jiang commented on PR #10475: URL: https://github.com/apache/pinot/pull/10475#issuecomment-1486001968
I found the issue by this CI test failure: https://github.com/apache/pinot/actions/runs/4514162615/jobs/7949914590 ``` Error: org.apache.pinot.integration.tests.ControllerPeriodicTasksIntegrationTest.tearDown Time elapsed: 16.339 s <<< FAILURE! java.lang.NullPointerException at org.apache.pinot.segment.local.io.readerwriter.RealtimeIndexOffHeapMemoryManager.close(RealtimeIndexOffHeapMemoryManager.java:109) at org.apache.pinot.segment.local.indexsegment.mutable.MutableSegmentImpl.destroy(MutableSegmentImpl.java:1114) at org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.destroy(LLRealtimeSegmentDataManager.java:1247) at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.doShutdown(RealtimeTableDataManager.java:261) at org.apache.pinot.core.data.manager.BaseTableDataManager.shutDown(BaseTableDataManager.java:188) at org.apache.pinot.server.starter.helix.HelixInstanceDataManager.shutDown(HelixInstanceDataManager.java:158) ``` This NPE is caused by 2 `destory()` happening at the same time, one clears the non-thread-safe list, the other one looping over it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org