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

Deduplicate `BatchedCommandRequest build*Op` methods in the codebase

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding 2021-02-08

      There are several files duplicating code to build BatchedRequestCommand insert/update/delete objects (e.g. 1, 2 and 3).

      Move them to be static methods into BatchedCommandRequest

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: