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

merge OpStateAccumulator and InsertsOpStateAccumulator in OpObserver interface

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-06-12, Execution NAMR Team 2023-06-26

    Description

      Most of the OpObserver methods use OpStateAccumulator with the exception of onInserts(), which uses InsertsOpStateAccumulator to hold multiple OpTimes.

      We should look into merging these two structs to provide a common data structure for all the OpObserver methods.

      One suggestion provided was to use a data structure such as absl::InlinedVector to combine the single/vector OpTime fields.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: