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

Wei-Chiu Chuang updated HDDS-7722:
----------------------------------
    Description: 
TestOMKeyCommitRequest has an erroneous check.

It tries to verify that after OmKeyCommitRequest.validateAndUpdateCache(), the 
open key is no longer in the table. However, it uses key name instead of the 
open key name, which is different. So this check always succeeds.

Update:
found a bug in the production FSO code where open file name is not invalidated 
from table cache.

  was:
TestOMKeyCommitRequest has an erroneous check.

It tries to verify that after OmKeyCommitRequest.validateAndUpdateCache(), the 
open key is no longer in the table. However, it uses key name instead of the 
open key name, which is different. So this check always succeeds.


> FSO buckets fails to remove open file from table cache
> ------------------------------------------------------
>
>                 Key: HDDS-7722
>                 URL: https://issues.apache.org/jira/browse/HDDS-7722
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: OM, test
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>
> TestOMKeyCommitRequest has an erroneous check.
> It tries to verify that after OmKeyCommitRequest.validateAndUpdateCache(), 
> the open key is no longer in the table. However, it uses key name instead of 
> the open key name, which is different. So this check always succeeds.
> Update:
> found a bug in the production FSO code where open file name is not 
> invalidated from table cache.



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