[ https://issues.apache.org/jira/browse/SOLR-15550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383719#comment-17383719 ]
David Smiley commented on SOLR-15550: ------------------------------------- This will really help! > Record submitterStackTrace on ObjectReleaseTracker in tests > ----------------------------------------------------------- > > Key: SOLR-15550 > URL: https://issues.apache.org/jira/browse/SOLR-15550 > Project: Solr > Issue Type: Test > Security Level: Public(Default Security Level. Issues are Public) > Components: Tests > Reporter: Mike Drob > Priority: Major > Attachments: SOLR-15550.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We currently collect the submitterStackTrace in MDCAwareThreadPool.execute > and log it in case of exception. This is very useful, but doesn't propagate > to objects gathered by ObjectReleaseTracker, so in case of failure we end up > with logging like: > {noformat} > org.apache.solr.common.util.ObjectReleaseTracker$ObjectTrackerException: > org.apache.solr.core.SolrCore > at > org.apache.solr.common.util.ObjectReleaseTracker.track(ObjectReleaseTracker.java:42) > at org.apache.solr.core.SolrCore.<init>(SolrCore.java:1090) > at org.apache.solr.core.SolrCore.<init>(SolrCore.java:928) > at > org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1433) > at > org.apache.solr.core.CoreContainer.lambda$load$10(CoreContainer.java:872) > at > com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:224) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at java.base/java.lang.Thread.run(Thread.java:834) > {noformat} > which doesn't help me very much in debugging why I have an unreleased > SolrCore. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org