Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9168 Improve Ozone metrics
  3. HDDS-10078

Parameterize TestOmMetrics#testKeyOps across bucket layouts

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • OM, test
    • None

    Description

      Currently TestOmMetrics#testKeyOps is only tested against LEGACY bucket layout. We should test it against FSO, OBS, and LEGACY. I was planning to add this in HDDS-10063, but ran into an issue with running the test on an FSO bucket and decided to move it to a different jira.

      The issue with the FSO bucket is due to the fault injection that happens partway through the test. This causes the NumKeyDeletes counter to not get incremented on the fourth key delete, because a KEY_NOT_FOUND OMException is raised when this line in OmFileRequest returns null while trying to get the key to check its ACLs in pre-execute. Other bucket layouts do not have this problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: