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

Cleanup write commands construction and parsing

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2017-05-08, Sharding 2017-05-29, Sharding 2017-06-19, Sharding 2017-07-10, Sharding 2017-07-31, Sharding 2017-08-21
    • 0

      The classes which currently implement the construction and parsing logic for the insert/update/delete commands are very poorly structured, inefficient and difficult to extend. Since as part of the 'Retryable Writes' project we will need to extend the set of parameters they support, this might be a good time to implement them in IDL.

      Part of the work on this ticket should include a design of what the IDL parser should look like.

      Note that this task is not strictly necessary for 'Retryable Writes', but it would make the write commands more extensible.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: