bharatviswa504 commented on issue #578: HDDS-3053. Decrease the number of the 
chunk writer threads
URL: https://github.com/apache/hadoop-ozone/pull/578#issuecomment-600791255
 
 
   I want to add one point here.
   The same chunkExecutor threads are used for readStateMachineData. This will 
be used by leader when sending append entry logs to followers.
   
   ```
           CompletableFuture.supplyAsync(() -> {
             try {
               future.complete(
                   getCachedStateMachineData(entry.getIndex(), entry.getTerm(),
                       requestProto));
             } catch (IOException e) {
               metrics.incNumReadStateMachineFails();
               future.completeExceptionally(e);
             }
             return future;
           }, getChunkExecutor(requestProto.getWriteChunk()));
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to