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

Fix readOnly field of timeseries collection returned by listCollections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 8.1.0-rc0, 6.0.16, 7.0.12, 5.0.28, 8.0.0-rc15
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-08-19
    • 1

      The listCollections command returns a readOnly field per every collection.

      This field is true on all the standard views and can be true/false on a standard collection depending on the queryableBackupMode and recoverFromOplogAsStandalone server parameters.

      In contrast, in the case of a timeseries namespace, we are setting this value to false regardless of the value of these parameters, which is inconsistent with the readOnly value reported for a standard collection.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: