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

Sumit Agrawal updated HDDS-7480:
--------------------------------
    Description: 
As steps from OM,

1) allocate block from SCM

2) verify if space-quota meets, and if meets continue

2.a) Client 1 gets success meeting space quota just enough meet

2.b) Client 2 also gets success meeting space quota just enough

        But together client 1 and client 2 crosses quota

3) on commit by all clients, it verify if meets quota for the client.

  - client 2 may success commit, but client 1 can fail during commit based on 
order

 

This adds failure during commit of file content.

  was:
As steps from OM,

1) allocate block from SCM

2) verify if space-quota meets, and if meets continue

2.a) Client 1 gets success meeting space quota just enough meet

2.b) Client 2 also gets success meeting space quota just enough

        But together client 1 and client 2 crosses quota

3) on commit by all clients, it just consume space quota

 

So this makes crosses space-quota as initially declared, as there is no 
reservation.

       Priority: Minor  (was: Major)
        Summary: parallel operation can have failure during commit for quota  
(was: parallel operation can consume more space quota then allocated)

> parallel operation can have failure during commit for quota
> -----------------------------------------------------------
>
>                 Key: HDDS-7480
>                 URL: https://issues.apache.org/jira/browse/HDDS-7480
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Minor
>
> As steps from OM,
> 1) allocate block from SCM
> 2) verify if space-quota meets, and if meets continue
> 2.a) Client 1 gets success meeting space quota just enough meet
> 2.b) Client 2 also gets success meeting space quota just enough
>         But together client 1 and client 2 crosses quota
> 3) on commit by all clients, it verify if meets quota for the client.
>   - client 2 may success commit, but client 1 can fail during commit based on 
> order
>  
> This adds failure during commit of file content.



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

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

Reply via email to