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

Oplog applier InsertGroup cannot group first operation in vector

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • Replication
    • Replication
    • Fully Compatible
    • Repl 2023-10-16, Repl 2023-10-30, Repl 2023-11-13

    Description

      The InsertGroup will not group operations starting with (and including) its _doNotGroupBeforePoint iterator, which is set to the last operation grouped in the last attempt, or the start of its operation vector. This means it can never group the first operation in the operation vector. Since there is no "before the beginning" iterator in C++, probably the solution is to make _doNotGroupBeforePoint the first operation not yet grouped, and make InsertGroup not group operations strictly before _doNotGroupBeforePoint.

      Attachments

        Activity

          People

            scott.li@mongodb.com Scott Li
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: