[ 
https://issues.apache.org/jira/browse/HDDS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-6364:
---------------------------------
    Labels: pull-request-available  (was: )

> EC: Discard pre-allocated blocks to eliminate worthless retries.
> ----------------------------------------------------------------
>
>                 Key: HDDS-6364
>                 URL: https://issues.apache.org/jira/browse/HDDS-6364
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Mark Gui
>            Assignee: Mark Gui
>            Priority: Major
>              Labels: pull-request-available
>
> When we meet failures during a stripe write, we'll rewrite the stripe into a 
> new block group, this new block group should be from a different pipeline 
> with some different DNs to ensure that we have a good chance to succeed at 
> the next retry.
> But there are pre-allocated block groups when we create a new EC key, for a 
> large EC key there will be at most 64 pre-allocated 
> blocks(ozone.key.preallocation.max.blocks = 64, by default), and we've only 
> got 10 retries(ozone.client.max.ec.stripe.write.retries = 10) for EC stripe 
> write, so the pre-allocated blocks came from the same pipeline as the failed 
> block group should be discarded to prevent worthless retries.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to