Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3575

Support dump and restore mixed-schema timeseries buckets

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 100.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • TAR 2024-06-24, TAR 2024-07-08
    • Tools and Replicator
    • 4

      From the linked ticket:

      All newly created time-series collections have timeseriesBucketsMayHaveMixedSchemaData set to false. This flag never gets changed as time-series inserts through the view can never result in mixed-schema buckets. However, one can still insert mixed-schema buckets through the system.buckets collection (direct write) and we wouldn't update the flag to true. mongodump/mongorestore does this. We should check whether buckets inserted via direct writes contain mixed-schema data and set the flag appropriately.

            Assignee:
            jian.guan@mongodb.com Jian Guan
            Reporter:
            johnny.dubois@mongodb.com Johnny DuBois
            Dave Rolsky, Johnny DuBois
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: