You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "liuyongpan (Jira)" <ji...@apache.org> on 2021/08/04 13:11:00 UTC

[jira] [Commented] (HDDS-5459) Replication Manager should process containers synchronously for tests

    [ https://issues.apache.org/jira/browse/HDDS-5459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393136#comment-17393136 ] 

liuyongpan commented on HDDS-5459:
----------------------------------

Hi Stephen O'Donnell,
     In HDFS-16147, I answered your question carefully. I wonder if you have time to look at it. I'm new to Hadoop development. But I am very interested in it, and your approval will give me great confidence and encouragement. I hope to hear from you.

> Replication Manager should process containers synchronously for tests
> ---------------------------------------------------------------------
>
>                 Key: HDDS-5459
>                 URL: https://issues.apache.org/jira/browse/HDDS-5459
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Stephen O'Donnell
>            Assignee: Stephen O'Donnell
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>
> The method ReplicationManager.processContainersNow() only wakes up the thread, and returns before the containers have been processed.
> This results in all RM tests having a sleep(100) after all calls to this method.
> With a small refactor to RM, we can avoid this sleep. After this change all tests run about 100ms faster, and the code in the tests is slightly better.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org