yandrey321 commented on code in PR #11501:
URL: https://github.com/apache/ozone/pull/11501#discussion_r4304042654


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -257,6 +263,10 @@ public RpcClient(ConfigurationSource conf, String 
omServiceId)
     this.ecReconstructExecutor = MemoizedSupplier.valueOf(() -> 
createThreadPoolExecutor(
         EC_RECONSTRUCT_STRIPE_READ_POOL_MIN_SIZE, 
clientConfig.getEcReconstructStripeReadPoolLimit(),
         "ec-reconstruct-reader-TID-%d"));
+    // Created on first use, after ozoneManagerClient, which holds the 
thread-local request context.
+    this.ecParallelReadExecutor = MemoizedSupplier.valueOf(() -> 
createRequestContextPropagatingExecutor(
+        EC_PARALLEL_READ_POOL_MIN_SIZE, 
clientConfig.getEcParallelReadPoolLimit(), "ec-parallel-reader-TID-%d",

Review Comment:
   fixed, will fix reconstruction path as part of 
[HDDS-17051](https://issues.apache.org/jira/browse/HDDS-17051)



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


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

Reply via email to