Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-6452

EC: Fix number of preAllocatedBlocks for EC keys

    XMLWordPrintableJSON

Details

    Description

      OM is pre-allocating too much blocks for EC keys.

      Assume the replication config is rs-3-2-1024k

      KeySize PreAllocatedSpace (Expected) PreAllocatedSpace (Current)
      1 MB blockSize * 5 blockSize * 5
      blockSize + 1 MB blockSize * 5 blockSize * 5 * 2
      blockSize * 2 + 1 MB blockSize * 5 blockSize * 5 * 3
      blockSize * 3 + 1 MB blockSize * 5 * 2 blockSize * 5 * 4

      Attachments

        Issue Links

          Activity

            People

              ckj Kaijie Chen
              ckj Kaijie Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: