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

Ethan Rose commented on HDDS-12209:
-----------------------------------

I don't think we need to consider sorting the output in this initial 
implementation, but we may want to consider supporting it optionally later with 
a {{--sorted}} flag. Although keys' replicas would be verified in parallel, the 
driver could wait for them to complete sequentially, only flushing the json 
produced by one key's checks once its previous keys have completed. In most 
cases this should not make a large difference, but if there is a slow key to 
check it could back up the processing of other keys until it completes.

> Make replica verification multi-threaded
> ----------------------------------------
>
>                 Key: HDDS-12209
>                 URL: https://issues.apache.org/jira/browse/HDDS-12209
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ethan Rose
>            Priority: Major
>
> Make {{ozone debug replicas verify}} use multiple threads to iterate keys and 
> run checks on them. As results are gathered, they can be queued to flush to 
> the output sequentially.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to