Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9233

listStatus() does not correctly iterate cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.4.0
    • OM

    Description

      It has come to my attention that the cleanup() method in TestOzoneFileSystem (in CI integration (filesystem)), 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.

      Attachments

        Issue Links

          Activity

            People

              deveshsingh Devesh Kumar Singh
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: