Review listCollections and listIndexes uses and adapt to rawData mode

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.2.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-06-23, CAR Team 2025-07-07
    • None
    • 3
    • TBD
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      Compared to legacy "viewful" timeseries, with viewless timeseries listCollections no lists a system.buckets namespace. This has the potential to break existing usages of listCollections in the server, which may have been relying on this.

       

      The main affected use case is collection cloning (chunk migration, initial sync, movePrimary, shardCollection, resharding) but we should review all usages and consider using rawData mode (SERVER-105340).

       

      The main breaking points are:

      • Unless rawData is used only the main namespace is shown, with type:'timeseries'. May break code that filters by type:'collection'
      • No buckets namespace is present, the main timeseries namespace now has a UUID
      • Unless rawData is used, clusteredIndex is hidden (pending SERVER-105339)

       

      Similarly, code that relied on using listIndexes over the buckets namespace should use rawData mode instead.

            Assignee:
            Robert Sander
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: