Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62222: colflow: fix emitting of flow stats and simplify the creator a bit r=yuzefovich a=yuzefovich We introduced `isGatewayNode` boolean on the flow creator a couple of months ago which is used to decide whether the last outbox should emit the flow level memory and disk stats. However, we forget to properly initialize it in the constructor, and this commit fixes that issue. The impact though is very limited - we would just emit some redundant stats, and because they are used for maximum, they would get ignored. Additionally, this commit simplifies the flow creator by removing `materializerAdded` field because it is essentially a duplicate of `isGatewayNode`. Release note: None Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
16 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