You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2019/07/02 18:42:01 UTC
[jira] [Created] (HDDS-1757) Use ExecutorService in
OzoneManagerStateMachine
Bharat Viswanadham created HDDS-1757:
----------------------------------------
Summary: Use ExecutorService in OzoneManagerStateMachine
Key: HDDS-1757
URL: https://issues.apache.org/jira/browse/HDDS-1757
Project: Hadoop Distributed Data Store
Issue Type: Bug
Reporter: Bharat Viswanadham
Assignee: Bharat Viswanadham
In the current code in applyTransaction we haveĀ
CompletableFuture<Message> future = CompletableFuture
.supplyAsync(() -> runCommand(request, trxLogIndex)); We are using ForkJoin#commonPool.
With the current approach we have 2 issues:
# Thread exhausts when using this common pool.
# OM DB's across replica can be out of sync when the apply transactions are applied in out of order.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org