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

Copydb breaks on (some) capped collections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.6.1
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      1. in 2.4.x, create a capped collection as above
      2. upgrade to 2.6
      3. run a copydatabase onto a new 2.6 instance

      Show
      1. in 2.4.x, create a capped collection as above 2. upgrade to 2.6 3. run a copydatabase onto a new 2.6 instance

      Description

      capped collections in earlier versions of mongodb (2.4.x) can sometimes look like this:
      { "name" : "test-1.two", "options" :

      { "create" : "two", "size" : 1000000, "max" : "", "capped" : true, "autoIndexId" : true }

      },
      when a database with a capped collection like that is upgraded to 2.6.1, and then a copydatabase is run against it, the copy database succeeds, but the capped collections are not copied properly

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: