[
https://issues.apache.org/jira/browse/HDFS-17214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771552#comment-17771552
]
ASF GitHub Bot commented on HDFS-17214:
---------------------------------------
simbadzina commented on PR #6135:
URL: https://github.com/apache/hadoop/pull/6135#issuecomment-1745351322
I meant formatting that to capitalize your first name and last name. For
example
```
$ git config --global user.name "Xiaojun Xiang"
```
For this commit I'm not sure if we can still reword it, but for future
commit you can adjust the `user.name` if you want.
> The Quota class's andByStorageType method res has an incorrect initial value
> ----------------------------------------------------------------------------
>
> Key: HDFS-17214
> URL: https://issues.apache.org/jira/browse/HDFS-17214
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: rbf
> Affects Versions: 3.3.4
> Reporter: xiaojunxiang
> Assignee: xiaojunxiang
> Priority: Major
> Labels: pull-request-available
> Attachments: HDFS-17214-000.patch, HDFS-17214-001.patch
>
>
> The Quata class's andByStorageType method is intended to apply bitwise and to
> each bit of StorageType.values( ) (the converted value), returning true only
> if all the values are true.
> So the initial value of res should be true and then loop through the array to
> perform the bitwise and operation.
> However, since res starts with fasle, the bitwise and always evaluates to
> false, so we should fix res to start with true.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]