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

test using an index on a time-series collection as shard key

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2021-03-22
    • 0

    Description

      We should allow a time-series collection to be sharded with a shard key on one of the existing indexes. Sharded time-series collections need to work with collation in the following scenarios:

      • Time-series collection created with the default collation
      • Sharding a time-series collection with a non-default collation.

      ========= OLD DESCRIPTION =======
      A router (mongos) attempting an insert into a collection C, either already knows C is a time-series collection, or will receive an error return informing it of that fact. This error return must include information on what fields are the metadata and time fields. The router must be updated to check routing information for the buckets table to determine what shard to send an insert for a time-series collection to.

      Attachments

        Issue Links

          Activity

            People

              louis.williams@mongodb.com Louis Williams
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: