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

Change command serialization/deserialization manual calls

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

      So far we have been focusing on changing out the IDL infrastructure, which includes calls that are handled by automatically generated code.  However, classes built using the IDL generator can also be manually called in hand-rolled code, and where we manually create these objects we may need to either create and populate serialization context objects to pass in, or we will need to pass these serialization context objects in from some outer parent object.

      The majority of the work here will be to seek out where we manually create these objects, and to determine the context in which they are being used.  This will give us the direction needed to figure out what modifications are needed.  During the course of work for SERVER-74284, we have marked off a number of TODOs that show possibly affected sites, as well we should scrutinize calls to the parseNamespaceFromRequest() and parseNamespaceFromDoc() and see if we need to pass in SerializationContext objects at these sites.

            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            0 Vote for this issue
            3 Start watching this issue