Closed obycode closed 6 days ago
The most obvious place to implement this change is directly in EventObserver::send_payload
. This would result in duplicated information in the database if a node has multiple observers, but it would reduce the amount of refactoring required and also give us finer grain info about which observers need events rebroadcasted (only rebroadcast to observers that did not confirm the event last time, instead of always rebroadcasting the event to all observers). In the majority of cases, a node probably has 0 or 1 observers, so there is likely no real difference in practice.
This is addressed in #5289.
Merged.
Problem
During the restart to upgrade naka-4 to rc3, we witnessed this situation:
Proposed solution