shardCollection hangs with very long collection name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.7.1
    • Component/s: Sharding
    • None
    • ALL
    • Hide

      Connect to mongos via shell and run the following commands:

      var collName = 'runCommand( {geoSearch:<collection>, search:{a:1}, near:[-33.3,89.9], maxDistance:314159265007} )';
      db.adminCommand({ enableSharding: 'test' });
      db.adminCommand({ shardCollection: 'test.' + collName, key: {a: 'hashed'} });
      
      Show
      Connect to mongos via shell and run the following commands: var collName = 'runCommand( {geoSearch:<collection>, search:{a:1}, near:[-33.3,89.9], maxDistance:314159265007} )'; db.adminCommand({ enableSharding: 'test' }); db.adminCommand({ shardCollection: 'test.' + collName, key: {a: 'hashed'} });
    • Sharding 2018-04-09
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Shard errors with "User Assertion: 73:fully qualified namespace ... is too long ...", but config keeps on retrying anyways.

            Assignee:
            Blake Oler
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: