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

[jira] [Resolved] (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:all-tabpanel ]

Stephen O'Donnell resolved HDDS-5459.
-------------------------------------
    Fix Version/s: 1.2.0
       Resolution: Fixed

> 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