Serialize and deserialize HealthLogEntries with multitenancySupport

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • Server Serverless 2022-11-14, Server Serverless 2023-08-07, Server Serverless 2023-08-21, Server Serverless 2023-09-04
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The documents in healthlog collection (local.system.healthlog) are an IDL defined type HealthLogEntry. The documents have an optional namespace field, so we'll need a way to track the tenantId when the namespace is not empty. As a part of this ticket we'll need to decide how to store the tenantId in this case - should we make this collection per tenant? Store the tenantId in a separate field similar to the oplog? Or, continue to prefix similar to the _mdb_catalog? Then, we'll need to change the places we serialize and deserialize this type to behave accordingly.

            Assignee:
            Mathis Bessa (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: