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

Zone Sharding example is misleading regarding behavior on documents outside of all tag ranges

    XMLWordPrintable

    Details

      Description

      ----------------------------

      Original Description

      https://docs.mongodb.com/manual/core/zone-sharding/#zones

      In the example, document

      { x : 23 }

      ends up on shard "Charlie". This is indeed possible. But it is not the only possibility. My testing showed that in the case of documents not covered by any of the configured tag ranges, those documents will be balanced among all shards – those with and without a tag. So the

      { x : 23 }

      could end up on shard "Charlie". But it could end up on "Alpha" or "Beta", too. Showing it on "Charlie" incorrectly implies that it could only end up there, which is not correct.

      Documents (again, per my testing) not falling in any tag range end up on shards with and without tags, not only on shards without tag. The example should make that clear – i.e, by showing document

      { x :25 }

      on shard alpha, and explaining why that happens.
      ----------------------------

      Description

      Scope of changes (files that need work and how much)

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            eric.sommer Eric Sommer
            Participants:
            Last commenter:
            Anthony Sansone Anthony Sansone
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              3 years, 16 weeks, 3 days ago