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

Sumit Agrawal commented on HDDS-7479:
-------------------------------------

Size of quota consumed by any file or key includes replication factor in terms 
of block size while allocation, and will be updated with actual after commit.

Required space in multiple of: BlockSize*Replication Factor

Case 1:

If file/key with "0" size: Its required to have (BlockSize*Replication Factor) 
as minimum size available.

This is because the actual size is known only after fileCommit is done by 
Client with actual written size.

But Directory creation is allowed in FSO with "0" size.

 

Case 2: 

If file with "100 Bytes" size. This case also need have minimum of  
(BlockSize*Replication Factor) (Here, 256MB is default block size and 3 is 
Replication factor default), i.e. 256*3 MB size required while start of write.

 

> Investigate -100% Volume and bucket quotas working
> --------------------------------------------------
>
>                 Key: HDDS-7479
>                 URL: https://issues.apache.org/jira/browse/HDDS-7479
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Major
>
> Need verify quota feature and fix issues:
>  # Volume and bucket relationship
>  # Bucket with Legacy layout
>  # Bucket with FSO layout
>  # verify all FS feature for FSO layout related to quota
>  # Review code for missing scenario



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