This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TransactionCoordinator: prevent thread leaks during broker shutdown (#…
…813) I noticed this thread leak during the executions of the tests ``` "Thread-3" #163 prio=5 os_prio=0 tid=0x00007f0c34011800 nid=0x603a sleeping[0x00007f0c0dea4000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at io.streamnative.pulsar.handlers.kop.coordinator.transaction.TransactionMarkerChannelManager.lambda$new$0(TransactionMarkerChannelManager.java:148) at io.streamnative.pulsar.handlers.kop.coordinator.transaction.TransactionMarkerChannelManager$$Lambda$624/1475886210.run(Unknown Source) at java.lang.Thread.run(Thread.java:748) ``` this patch fixes the problem Co-authored-by: Enrico Olivelli <[email protected]>
- Loading branch information