Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60029

Hide wiredTiger['block-manager'] for sharded cluster

    XMLWordPrintable

    Details

    • Case:

      Description

      When you run db.collection.stats() command on sharded cluster top level wiredTiger.block-manager data always shows first shard metrics. This can be confusing and ideally should not be visible.

       
      Top-Level Stats:

      "block-manager" : {
       "allocations requiring file extension" : 1279,
       "blocks allocated" : 1366,
       "blocks freed" : 28,
       "checkpoint size" : 27422720,
       "file allocation unit size" : 4096,
       "file bytes available for reuse" : 61440,
       "file magic number" : 120897,
       "file major version number" : 1,
       "file size in bytes" : 27500544,
       "minor version number" : 0
       },

      Shard-0:

      "block-manager" : {
       "allocations requiring file extension" : 1279,
       "blocks allocated" : 1366,
       "blocks freed" : 28,
       "checkpoint size" : 27422720,
       "file allocation unit size" : 4096,
       "file bytes available for reuse" : 61440,
       "file magic number" : 120897,
       "file major version number" : 1,
       "file size in bytes" : 27500544,
       "minor version number" : 0
       },

      Shard-1:

      "block-manager" : {
       "allocations requiring file extension" : 3812,
       "blocks allocated" : 18244,
       "blocks freed" : 15680,
       "checkpoint size" : 39616512,
       "file allocation unit size" : 4096,
       "file bytes available for reuse" : 42553344,
       "file magic number" : 120897,
       "file major version number" : 1,
       "file size in bytes" : 82186240,
       "minor version number" : 0
       },

       

        Attachments

          Activity

            People

            Assignee:
            backlog-server-sharding-nyc Backlog - Sharding NYC
            Reporter:
            sergei.timoshtshuk Sergei Timoshtshuk
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: