Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2939 Ozone FS namespace
  3. HDDS-4973

[FSO] Missed to cleanup new FileTables in OMRequests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      This task is to cleanup New FileTables when the request is not successful in the following requests:

      -> OMAllocateBlockRequestV1,
      -> OMFileCreateRequestV1,
      -> OMKeyCreateRequestV1,
      -> OMKeyRenameRequestV1,
      -> S3InitiateMultipartUploadRequestV1

      For example, OMKeyCreateRequestV1.java#L216 is invoking OMKeyCreateResponse, where it is cleaning up OPEN_KEY_TABLE, KEY_TABLE tables. Actually, it should cleanup the new tables - DIRECTORY_TABLE, OPEN_FILE_TABLE and FILE_TABLE.

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: