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

XMLWordPrintableJSON

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

      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:
            Unassigned
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: