Technoboy- opened a new pull request #11215:
URL: https://github.com/apache/pulsar/pull/11215
### Motivation
As LedgerReader read entries from ReadHandle, and then dispatch
OrderedScheduler to execute write.
```java
assignmentScheduler.chooseThread(ledgerId).submit(FileSystemWriter.create(ledgerEntriesOnce,
dataWriter, semaphore,
countDownLatch, haveOffloadEntryNumber,
this)).addListener(() -> {
}, Executors.newSingleThreadExecutor());
```
I think it's no need to add listener but do nothing, and create executor
pool every time.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]