lhotari commented on a change in pull request #13130: URL: https://github.com/apache/pulsar/pull/13130#discussion_r788366446
########## File path: pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/AbstractMetadataStore.java ########## @@ -317,7 +346,33 @@ public void invalidateAll() { */ protected void execute(Runnable task, CompletableFuture<?> future) { try { - executor.execute(task); + // Wrap the original task, so we can record the thread on which it is running + TaskWrapper taskWrapper = new TaskWrapper(task); + executorWatchDog.execute(() -> { Review comment: @bharanic-dev #13124 has been merged so you could use the added ThreadDumpUtil in this PR. -- 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...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org