Siyao Meng created HDDS-9233:
--------------------------------

             Summary: Investigate whether listStatus() is correctly iterating 
cache
                 Key: HDDS-9233
                 URL: https://issues.apache.org/jira/browse/HDDS-9233
             Project: Apache Ozone
          Issue Type: Task
            Reporter: Siyao Meng
            Assignee: Devesh Kumar Singh


It has come to my notice that the cleanup() method in TestOzoneFileSystem, 
which is triggered after EACH test method is incredibly flaky.

However, when I add a call to wait for double buffer flush, it no longer seems 
flaky:

https://github.com/apache/ozone/pull/5175/commits/72c297d24a27bd6f334979f70a7a927fc03d8114

I suspect ofs/o3fs listStatus("/") is not correctly iterating cache. Otherwise 
it should be strongly consistent -- any file deletion should be immediately 
reflected to this or other clients.



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