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

Crash with out-of-memory while building indexes on secondary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.4.8
    • Fix Version/s: None
    • Environment:
      Description: Debian GNU/Linux 7.3 (wheezy)

      ii mongodb-10gen 2.4.8 amd64 An object/document-oriented database
    • Operating System:
      ALL

      Description

      In a replicaSet we build a new background index on several collections on the primary.

      db.foo.ensureIndex({_pm:1}, {name: 'foo_pm_idx', sparse: true, background: true })

      For our smaller collections the index creation on the slave successed. (not sure if this matters)

      However on our second biggest collection (the biggest one did succeed) it crashed our secondary.

      crash.txt shows the first crash
      crash2.txt shows the crash when starting up the secondary again.

        Attachments

        1. crash.txt
          3 kB
        2. crash2.txt
          5 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            nifan nifan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: