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

Couldn't kill the $where operations in features3.js

    • ALL

      http://buildlogs.mongodb.org/Linux%20RHEL%2064-bit/builds/1081/test/sharding/features3.js

      	
       m30999| Thu Feb 28 16:48:04.158 [Balancer] distributed lock 'balancer/bs-rhel-57-64-1:30999:1362087981:1804289383' unlocked. 
       m30999| Thu Feb 28 16:48:14.192 [Balancer] Refreshing MaxChunkSize: 50
       m30999| Thu Feb 28 16:48:14.193 [Balancer] trying to acquire new distributed lock for balancer on localhost:30000 ( lock timeout : 900000, ping interval : 30000, process : bs-rhel-57-64-1:30999:1362087981:1804289383 )
       m30999| Thu Feb 28 16:48:14.193 [Balancer] about to acquire distributed lock 'balancer/bs-rhel-57-64-1:30999:1362087981:1804289383:
       m30999| { "state" : 1,
       m30999|   "who" : "bs-rhel-57-64-1:30999:1362087981:1804289383:Balancer:1681692777",
       m30999|   "process" : "bs-rhel-57-64-1:30999:1362087981:1804289383",
       m30999|   "when" : { "$date" : "Thu Feb 28 16:48:14 2013" },
       m30999|   "why" : "doing balance round",
       m30999|   "ts" : { "$oid" : "512fd09e35bdda7180379e43" } }
       m30999| { "_id" : "balancer",
       m30999|   "state" : 0,
       m30999|   "ts" : { "$oid" : "512fd09435bdda7180379e42" } }
       m30999| Thu Feb 28 16:48:14.195 [Balancer] distributed lock 'balancer/bs-rhel-57-64-1:30999:1362087981:1804289383' acquired, ts : 512fd09e35bdda7180379e43
       m30999| Thu Feb 28 16:48:14.195 [Balancer] *** start balancing round
       m30999| Thu Feb 28 16:48:14.195 [Balancer] waitForDelete: 0
       m30999| Thu Feb 28 16:48:14.195 [Balancer] secondaryThrottle: 1
      2013-02-28 16:48:23 EST	
       m30999| Thu Feb 28 16:48:14.196 [Balancer] shard0001 has more chunks me:1 best: shard0000:1
       m30999| Thu Feb 28 16:48:14.196 [Balancer] collection : test.foo
       m30999| Thu Feb 28 16:48:14.196 [Balancer] donor      : shard0000 chunks on 1
       m30999| Thu Feb 28 16:48:14.196 [Balancer] receiver   : shard0000 chunks on 1
       m30999| Thu Feb 28 16:48:14.196 [Balancer] threshold  : 2
       m30999| Thu Feb 28 16:48:14.196 [Balancer] no need to move any chunk
       m30999| Thu Feb 28 16:48:14.196 [Balancer] *** end of balancing round
       m30999| Thu Feb 28 16:48:14.196 [Balancer] distributed lock 'balancer/bs-rhel-57-64-1:30999:1362087981:1804289383' unlocked. 
      assert.soon failed: function (){
          
          // Get all the current operations
          mine = getMine( state == 0 && i > 20 );
          i++;
          
          // Wait for the queries to start
          if ( state == 0 && mine.length > 0 ){
              // Queries started
              state = 1;
              // Kill all $where
              mine.forEach( function(z){ printjson( db.getSisterDB( "admin" ).killOp( z.opid ) ); }  )
              killTime = new Date()
          }
          // Wait for killed queries to end
          else if ( state == 1 && mine.length == 0 ){
              // Queries ended
              state = 2;
              return true;
          }
          
      }, msg:Couldn't kill the $where operations.
      Error: Printing Stack Trace
          at printStackTrace (src/mongo/shell/utils.js:37:7)
          at doassert (src/mongo/shell/assert.js:6:1)
          at Function.assert.soon (src/mongo/shell/assert.js:110:48)
          at /data/buildslaves/Linux_RHEL_64bit/mongo/jstests/sharding/features3.js:81:8
      

            Assignee:
            benjamin.becker Ben Becker
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: