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

Serialize and deserialize HealthLogEntries with multitenancySupport

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

      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@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: