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

Docs for SERVER-22663: Make --shardsvr required for a mongod to be used as a shard

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Engineering Ticket Description:

      3.4 onwards:

      a shard can become shard aware in two ways:

      • started with --shardsvr and shardIdentity document found on disk
      • started with --shardsvr and receive shardIdentity insert

      so, we will eventually reject all sharding commands if:

      • not started with --shardsvr
      • started with --shardsvr but not yet sharding aware

      =============

      for backwards compatibility with 3.2:

      a shard can also become shard aware if:

      • started with --shardsvr and receive command that initializes sharding awareness

      so (what this ticket does):

      reject all sharding commands except a whitelist of commands that initialize sharding awareness.

      Attachments

        Issue Links

          Activity

            People

              ravind.kumar Ravind Kumar (Inactive)
              emily.hall Emily Hall
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 26 weeks, 6 days ago