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

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

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

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

      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.

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

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

              Created:
              Updated:
              Resolved: