merge OpStateAccumulator and InsertsOpStateAccumulator in OpObserver interface

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-06-12, Execution NAMR Team 2023-06-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: