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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2021-03-22
    • 0

      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.

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

              Created:
              Updated:
              Resolved: