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

replicate batched operations comprising of single inserts as ā€˜iā€™ insert operations rather than applyOps entries

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Execution Team 2022-11-14, Execution Team 2022-11-28

      We anticipate using the BatchedWriteContext class to replicate groups of inserts for internal operations, such as renameCollection. Currently, batched operations are unconditionally replicated as applyOps oplog entries. For singleton batched operations, it would be ideal to replicate as the underlying CRUD operation type, in this case as a single ā€˜iā€™ insert CRUD operation.

      Since there is no user-facing command that would generate a batch of inserts, this would be a good opportunity to introduce a C++ unit test to exercise some of the BatchedWriteContext functionality for handling single and multiple inserts.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: