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/07/18 21:48:00 UTC

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

Stephen O'Donnell created HDDS-5459:
---------------------------------------

             Summary: 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


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