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

Convert ChangeLogType to be IDL Generated

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch

      Currently the ChangeLogType is manually generated and does not include the serialization context logic when serializing / deserialzing.

      There is a TODO in the code base because we have to manually deserialize from a BSON object. If we were to use an IDL generator we would not have to do such work manually and potentially lose / drop a tenantId since we are not carrying a SerializationContext over.

      The NamespaceString in this case is constructed from BSON field values manually without a tenantId and without a serialization context which will be a problem once this code runs with multitenancy.

       

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: