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

can't killop an aggregation operation

    XMLWordPrintableJSON

Details

    • ALL

    Description

      Ran a long aggregation operation, wasn't able to kill it with killop and ctrl-c on mongod also seems to hang until the operation finishes.

      Here is the test I ran

      c = db.c;
      c.drop();
       
      big = new Array(1000).toString();
      for( i = 0; i < 10; ++i ) {
          c.save( {b:big} );
      }
       
      pipeline = [];
      for( i = 0; i < 100; ++i ) {
          pipeline.push( {$skip:1} );
      }
       
      c.aggregate( pipeline );
       

      Attachments

        Issue Links

          Activity

            People

              cwestin Chris Westin
              aaron Aaron Staple
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: