Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2054

Document limitation of addShard command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • Server
    • None

    Description

      Because of SERVER-9882, you cannot include a hidden node in the connection string when you call addShard.

      Example:
      rs0 - primary
      rs1 - secondary
      rs2 - secondary (hidden)

      ok:

      { addShard: 'test/rs0,rs1' } { addShard: 'test/rs0' } { addShard: 'test/rs1' }

      fails:

      { addShard: 'test/rs0,rs2' } { addShard: 'test/rs1,rs2' } { addShard: 'test/rs2' }

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 19 weeks ago