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

mongodb3.2 version can't count metedate out correct

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying, Sharding
    • None
    • ALL

      connecting to: 127.0.0.1:20487/admin
      Server has startup warnings: 
      2017-08-30T17:39:26.199+0800 I CONTROL  [main] ** WARNING: You are running this process as the root user, which is not recommended.
      2017-08-30T17:39:26.199+0800 I CONTROL  [main] 
      mongos> db.system.users.count()
      2017-09-01T10:39:48.392+0800 E QUERY    [thread1] Error: count failed: {
              "code" : 70,
              "ok" : 0,
              "errmsg" : "Shard not found for server: config465/10.200.4.150:27019,10.200.5.150:27019,10.200.6.150:27019"
      } :
      _getErrorWithCode@src/mongo/shell/utils.js:25:13
      DBQuery.prototype.count@src/mongo/shell/query.js:370:11
      DBCollection.prototype.count@src/mongo/shell/collection.js:1713:12
      @(shell):1:1
      
      mongos> db.runCommand( { serverStatus: 1 } )['sharding']['configsvrConnectionString']
      config465/10.200.6.150:27019,10.200.5.150:27019,10.200.4.150:27019
      

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            zhouhancang hancang2000
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: