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

Behavioral change creating capped collection in sharded cluster

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • 44

    Description

      The Java driver has a regression test for its create collection helper that is failing against a sharded cluster. The test runs the following command:

      {
         create: <collection>,
         capped: true
         size: 40960
         max: 100
      }
      

      Followed by

      {
          collStats: <collection>
      }
      

      and expects that the value of the storageSize field in the reply is equal to 40960.
      But the actual value of the field is 4096.

      The test first failed against MongoDB 6.2.0-alpha-209-g8de369e. The test last succeeded against v6.2.0-alpha-187-gbd8a8d4. The same test still passes against replica set and standalone topologies.

      Attachments

        Activity

          People

            enrico.golfieri@mongodb.com Enrico Golfieri
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: