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

Is there any major issue with running a 1 shard production setup?

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.3
    • Component/s: Sharding
    • Labels:
      None

      Hi, We are planning to use sharded replica-set in production and would like to know if there are any issue with just running a single shard? As our data grow, we will add the second. It seems to run fine in our test environment.

      Your document specifically mentions to run 2 shards: http://docs.mongodb.org/manual/core/sharded-clusters/#infrastructure-requirements-for-sharded-clusters

      The reason why we're doing this so that we don't have to convert replicaset to a sharded setup later on as the coding requirement is different for findAndRemove/findAndModify (shard key requirement for these calls) and deal with the shard key aspect at a later time.

            Assignee:
            bryan.reinero Bryan Reinero
            Reporter:
            huy@overnear.com Huy Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: