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

Simplify replicated collection creation path on secondaries

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      On a secondary, there are many steps between parsing a create oplog entry and creating the replicated collection in the DurableCatalog. 

      The secondary path manipulates the provided information each step. For example - the create entry's idIndex(1, 2)  and uuid are encoded in different forms across the code path. 

      By reducing the number of steps from oplog entry to succesful replication of a collection, it will be easier for developers to modify the oplog entry structure and replicate new information. 

      This is particularly relevant as we try to replicate catalog information from the primary to the secondary.
       
      Today's code flow for replicated collection creation
      Primary

       
      Secondary

            Assignee:
            Unassigned Unassigned
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None