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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc0
    • Affects Version/s: 2.5.3
    • Component/s: Concurrency
    • None
    • ALL
    • 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"})

      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.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: