Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7749 Review and fix all incorrect usage of openKeyTable and openFileTable
  3. HDDS-7722

FSO buckets fail to invalidate open file table cache when committing a key

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • OM, test

    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.

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: