ethqunzhong commented on PR #24839:
URL: https://github.com/apache/pulsar/pull/24839#issuecomment-3400702462

   > Offloader already have a separate threadpool, the configuration key is 
`managedLedgerOffloadMaxThreads`, and it's default value is 2. Why add a new 
threadpool?
   
   Strictly speaking, the thread pool configured by 
`managedLedgerOffloadMaxThreads`(use at `FSOffloader.scheduler`) is used in the 
offloader instance to perform cold storage operations for the sequential 
reading and writing of specific ledgers. The thread pool newly added in this 
modification is used for scheduling the offload operations of all 
ManagedLedgers at the Broker level—a capability that was previously handled by 
`ManagedLedgerImpl#scheduledExecutor`.
   


-- 
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]

Reply via email to