collMod should set viewless timeseries flags (mixed schema, etc.) in the global catalog

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.2.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • 3
    • TBD
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Because viewless timeseries collections don't depend on the "view kick-back mechanism" for the read path, the timeseriesBucketsMayHaveMixedSchemaData and timeseriesBucketingParametersHaveChanged flags now also exist on the global catalog, instead of only exclusively on the shard catalog, so that routing can use them.

      To support this, running:

      db.runCommand({collMod: "myts", timeseriesBucketsMayHaveMixedSchemaData: true})
      

      or

      db.runCommand({"collMod": "myts", "timeseries": {
              "bucketMaxSpanSeconds": 12345,
              "bucketRoundingSeconds": 12345
      }})
      

      Should set the appropriate flags in the timeseriesFields field of config.collections on the config server.

            Assignee:
            Unassigned
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: