Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Ensure
RaftMetrics
are sent after RaftDataMetrics
and `RaftS…
…erverMetrics` This commit addresses an issue where `RaftMetrics` could be sent before `RaftDataMetrics` and `RaftServerMetrics`. Since `Wait` relies solely on `RaftMetrics` to reflect the latest state, it is crucial that `RaftMetrics` are dispatched only after the other two metrics have been updated. This change guarantees that once a change in `RaftMetrics` is detected, it accurately represents the most recent changes from both `RaftDataMetrics` and `RaftServerMetrics`.
- Loading branch information