Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-842

Document what collection.stats() userFlags value will be if usePowerOf2Sizes is enabled

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      In http://docs.mongodb.org/manual/reference/collection-statistics/, in the userFlags section we state that the only user flag is usePowerOf2Sizes. However we do not state what the value of userFlags will be if usePowerOf2Sizes is enabled (or disabled).

      From my testing, userFlags is set to 1 if usePowerOf2Sizes is enabled, and userFlags is set to 0 if usePowerOf2Sizes is disabled.

      Attachments

        Activity

          People

            epc Ed Costello
            jantje.daniel Ian Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 11 weeks, 1 day ago