[
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: [email protected]
For additional commands, e-mail: [email protected]