[SERVER-8794] Couldn't kill the $where operations in features3.js Created: 28/Feb/13  Updated: 11/Jul/16  Resolved: 06/Mar/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.4.0-rc2

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Ben Becker
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

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



 Comments   
Comment by auto [ 05/Mar/13 ]

Author:

{u'date': u'2013-03-05T21:04:54Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-8794: use a dedicated config server for features3.js and add debug output
Branch: master
https://github.com/mongodb/mongo/commit/0893701ad4a183589e08d3e00428b6f1d5a37124

Comment by auto [ 05/Mar/13 ]

Author:

{u'date': u'2013-03-05T17:26:36Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}

Message: SERVER-8794: clean up features3.js to make it easier to understand
Branch: master
https://github.com/mongodb/mongo/commit/081a0a87a20d51ded630c967ce31b4a607d5035d

Comment by Eric Milkie [ 04/Mar/13 ]

Also http://buildlogs.mongodb.org/OS%20X%2010.5%2064-bit%20DUR%20OFF/builds/1979/test/sharding/features3.js

Generated at Thu Feb 08 03:18:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.