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

sharding/remove2.js failing on Windows with "local database 'test' exists"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.0
    • Affects Version/s: None
    • Component/s: Sharding
    • ALL

      http://buildlogs.mongodb.org/Windows%2064-bit%202008%2B%20DEBUG/builds/645/test/sharding/remove2.js

      	
       m30999| Mon Mar 04 06:25:00.542 [conn1] trying to add new host AMAZONA-VVETJQF:31201 to replica set remove2-rs1
       m30999| Mon Mar 04 06:25:00.542 [conn1] successfully connected to new host AMAZONA-VVETJQF:31201 in replica set remove2-rs1
       m31201| Mon Mar 04 06:25:00.542 [initandlisten] connection accepted from 10.28.160.15:60060 #13 (9 connections now open)
       m31200| Mon Mar 04 06:25:00.542 [conn24] end connection 10.28.160.15:60058 (16 connections now open)
       m30999| Mon Mar 04 06:25:00.542 [conn1] Primary for replica set remove2-rs1 changed to AMAZONA-VVETJQF:31200
       m30999| Mon Mar 04 06:25:00.542 [conn1] replica set monitor for replica set remove2-rs1 started, address is remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201
       m31200| Mon Mar 04 06:25:00.542 [initandlisten] connection accepted from 10.28.160.15:60061 #26 (17 connections now open)
       m30999| Mon Mar 04 06:25:00.557 [conn1] addshard request { addshard: "remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201" } failed: can't add shard remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201 because a local database 'test' exists in another remove2-rs0:remove2-rs0/AMAZONA-VVETJQF:31100,AMAZONA-VVETJQF:31101
      First attempt to addShard failed, trying again
       m30999| Mon Mar 04 06:25:00.573 [conn1] addshard request { addshard: "remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201" } failed: can't add shard remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201 because a local database 'test' exists in another remove2-rs0:remove2-rs0/AMAZONA-VVETJQF:31100,AMAZONA-VVETJQF:31101
      Mon Mar 04 06:25:00.589 JavaScript execution failed: command { "addshard" : "remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201" } failed: {
      	"ok" : 0,
      	"errmsg" : "can't add shard remove2-rs1/AMAZONA-VVETJQF:31200,AMAZONA-VVETJQF:31201 because a local database 'test' exists in another remove2-rs0:remove2-rs0/AMAZONA-VVETJQF:31100,AMAZONA-VVETJQF:31101"
      } at src/mongo/shell/shardingtest.js:L558
      failed to load: D:\slave\Windows_64bit_2008+_DEBUG\mongo\jstests\sharding\remove2.js
      

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: