OplogApplier batching logic erroneously reads oplog document size after std::moving.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc5, 4.1.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2018-06-18
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After moving the oplog entry object, it is accessed to determine the object size. After the move, my machine, says the size of the entry is 5 bytes. This messes up the byte size limit in the batching logic.

              Assignee:
              Daniel Gottlieb (Inactive)
              Reporter:
              Daniel Gottlieb (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: