-
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.
colflow: enforce stats collection before drain meta
This commit introduces a dummy vectorized stats collector that is also a metadata source that simply checks that `GetStats` has been called before `DrainMeta` and returns an error as a metadata if not. This stats invariants checker is now planned whenever `util.CrdbTestBuild` is true (which is when `TAGS=crdb_test` was specified). Release note: None
- Loading branch information
1 parent
8c22cdb
commit 237f8b8
Showing
2 changed files
with
68 additions
and
32 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