Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-9358

recoverLease should close underlying streams

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.0
    • None
    • Ozone Client
    • None

    Description

      FSDataOutputStream.recoverLease leaves the underlying KeyOutputStream / BlockOutputStream open. Subsequent attempt to close FSDataOutputStream throws OMException: Failed to commit key, as ... is not found in the OpenKey table. Thus XceiverClientRatis is leaked.

      Attachments

        Activity

          People

            ashishk Ashish Kumar
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: