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

Chunk migrations can build indexes

    XMLWordPrintableJSON

Details

    Description

      The first step in our migration logic is to build all missing indexes on the TO shard (compared to the FROM shard): https://github.com/mongodb/mongo/blob/r2.6.1/src/mongo/s/d_migrate.cpp#L1662

      This feature allows our users to add new shards and they don't have to worry about building indexes there manually. It's important to note that the index builds are propagated to secondaries.

      We should specifically document this feature, otherwise the implications can be unexpected and.. surprising

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 21 weeks, 1 day ago