Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-541 Ozone Quota support.
  3. HDDS-4249

The usage value needs to be adjusted after client crash

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • No special handling required as quota is not incremented when file is created. Its handled in commitKey when file write is complete, and at that point, actual file size is available.

    Description

      When the client crashes, we need to adjust Usage because the block allocate might have succeeded, but the key eventually failed to write. At this point, we need to subtract the block size we have applied for.

      Attachments

        Issue Links

          Activity

            People

              sumitagrawl Sumit Agrawal
              micahzhao mingchao zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: