Serialize the command responses for collStats correctly in a multitenant env

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-12-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The collStats command does not have an IDL defined reply type, so we can use NamespaceStringUtil::serialize to serialize the namespace correctly in the response here and here (the second place special cases appending stats for a timeseries collection).

      Let's add tests to native_tenant_data_isolaton_basic_security_token.js that run collStats both on a standard collection and on a timeseries collection (an example of how to create a timeseries collection is here). We can use the "checkNsSerializedCorrectly()" function defined in the test to check the namespaces are serialized correctly.

            Assignee:
            Hugh Tong (Inactive)
            Reporter:
            Sophia Tan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: