Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14796

Support of deallocating file space not checked during initialization of CacheCompressionManager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: persistence
    • Labels:
    • Ignite Flags:
      Release Notes Required

      Description

      Support of deallocating file space currently is not checked during initialization of CacheCompressionManager.
      According to man page,
      fallocate supports "punching hole" only on small subset of filesystems. We should check it during initialization of CacheCompressionManager.

      By the way in the method org.apache.ignite.internal.processors.compress.NativeFileSystemLinux#punchHole errno incorrectly processed. fallocate on error returns always -1 and set errno. Currently this method returns only -1 that misleads user.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ivandasch Ivan Daschinsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: