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.
- is related to
-
SERVER-76271 Remove OpObserverShardingImpl Dependency on OpObserverImpl
- Closed
-
SERVER-76636 Add accumulator to OpObserver::onInserts
- Closed