-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colexec, colflow: refactor VectorizedStatsCollector, VectorizedStats,…
… and add LatencyGetter This commit refactors the VectorizedStatsCollector type into a base struct and a specialized stats collector, NetworkVectorizedStatsCollector, for collecting network latency on streams. Since the networkReader is only used for the case where stats are collected for streams, this refactor avoids the need to pass in nils for other instance where stats collectors are used. This commit also adds a separate implementation of the SpanStats interface called VectorizedInboxStats. This change allows for us to choose which stats to display on EXPLAIN ANALYZE diagrams for streams. This commit also adds the LatencyGetter helper to store node latencies in a map. Rather than updating the latency map multiple times per query, the latency map is updated if it hasn't been updated in over one second. Release note: None
- Loading branch information
Showing
13 changed files
with
642 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.