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

Behavioral change creating capped collection in sharded cluster

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • 44

      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.

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

              Created:
              Updated:
              Resolved: