[SERVER-7148] "Master fails to step down when orphaned" in replset4.js Created: 25/Sep/12  Updated: 02/Oct/12  Resolved: 02/Oct/12

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

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

Attachments: File replset4.js    
Operating System: ALL
Participants:

 Description   

http://buildlogs.mongodb.org/Windows%2064-bit/builds/5035/test/replica%20sets/replset4.js

assert.soon failed: function () {
    try {
        var result = master.getDB("admin").runCommand({ismaster:1});
        return result.ok == 1 && result.ismaster == false;
    } catch (e) {
        print("replset4.js caught " + e);
        return false;
    }
}, msg:Master fails to step down when orphaned.
Error("Printing Stack Trace")@:0
()@src/mongo/shell/utils.js:37
("assert.soon failed: function () {\n    try {\n        var result = master.getDB(\"admin\").runCommand({ismaster:1});\n        return result.ok == 1 && result.ismaster == false;\n    } catch (e) {\n        print(\"replset4.js caught \" + e);\n        return false;\n    }\n}, msg:Master fails to step down when orphaned.")@src/mongo/shell/utils.js:58
((function () {try {var result = master.getDB("admin").runCommand({ismaster:1});return result.ok == 1 && result.ismaster == false;} catch (e) {print("replset4.js caught " + e);return false;}}),"Master fails to step down when orphaned.")@src/mongo/shell/utils.js:167
(15)@D:\slave\Windows_64bit\mongo\jstests\replsets\replset4.js:35
@D:\slave\Windows_64bit\mongo\jstests\replsets\replset4.js:43
Mon Sep 24 19:31:56 uncaught exception: assert.soon failed: function () {
    try {
        var result = master.getDB("admin").runCommand({ismaster:1});
        return result.ok == 1 && result.ismaster == false;
    } catch (e) {
        print("replset4.js caught " + e);
        return false;
    }
}, msg:Master fails to step down when orphaned.
failed to load: D:\slave\Windows_64bit\mongo\jstests\replsets\replset4.js


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