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

Do not record full array in oplog for $pop

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      Currently $pop records the full array in oplog for idempotency. However for large arrays this is pretty expensive (both in time and space), not only for secondary oplog application, but also for change streams. We should explore a more efficient way to log $pop operation while still keeping idempotency.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            wenbin.zhu@mongodb.com Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: