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

attempt to create a large collection in local db causes continuous asserts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.6.0-rc0
    • Component/s: Concurrency
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Run large aggregation (of oplog.rs for example) with "out" parameter.

      db.oplog.rs.aggregate({$project:{ts:1,h:1,op:1,oid:"$o._id",s:{$concat:["$o.shard","$ns"]}}},{$out:"newCollection"})

      Show
      Run large aggregation (of oplog.rs for example) with "out" parameter. db.oplog.rs.aggregate({$project:{ts:1,h:1,op:1,oid:"$o._id",s:{$concat:["$o.shard","$ns"]}}},{$out:"newCollection"})

      Description

      I was running aggregations and writing output to a file, but my database I was analyzing was "local" DB. Apparently if _aCommitIsNeeded detects that we have a write lock on "local" DB it fasserts() but since I'm running a regular build, it just continues fasserting till I kill -9 it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              milkie Eric Milkie
              Reporter:
              asya Asya Kamsky
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: