Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6887

Storage size incorrectly reported with zlib compression

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 4.4.1
    • None
    • None
    • None
    • Docker image mongo:4.4.1

    Description

      I see that storage size is not reported correctly if I run with zlib compression. I tried:

      docker run --name mongo -p 27017:27017 -d mongo:4.4.1 --wiredTigerCollectionBlockCompressor zlib

      And when I query collection stats using:

      db.collection.stats()

      I get (redacted):

      {
       size: 6200000,
       count: 200000,
       avgObjSize: 31,
       storageSize: 4096,
       totalIndexSize: 20480,
       totalSize: 24576,
       indexSizes: { _id_: 20480 }
      }

      See how storageSize is 4096. It is so and it does not change.

      Attachments

        Activity

          People

            backlog-server-triage Backlog - Triage Team
            mitar Mitar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: