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

collection stats capped field value changed type

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.0
    • None
    • None
    • Minor Change
    • ALL

    Description

      For a capped collection the value of the capped field changed from an integer to a boolean:

      In 2.0:

      > db.mycoll.stats().capped
      1

      in 2.2:

      > db.mycoll.stats().capped
      true

      This can break some drivers or other clients that were making assumptions on this value's type.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: