You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
knz opened this issue
Sep 23, 2019
· 0 comments
· Fixed by #47923
Assignees
Labels
A-loggingIn and around the logging infrastructure.C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
The log package originally had an exported type Level used by log.V().
Somewhere during history the external interface of log.V() and related functions was changed to accept an int32 directly, and the type Level was un-exported.
It is still used internally to the log package but its value is unclear, given that half of the code now uses level and the other half uses int32.
The code should be simplified to either use int32 everywhere, or define type Level = int32 and rewrite the code to use Level without making callers unhappy.
40993: util/log: refactor and bug fixes r=knz a=knz
Fixes#40983.
Fixes#40973.
Fixes#40974.
Fixes#41231.
I might also want to add code to clean up #40972, #40982 and #40990 provided I receive some guidance from @tbg or someone familiar with the log package.
41654: parser: fix telemetry link for materialized views r=jordanlewis a=jordanlewis
This commit fixes the error message that you get if you try to create a
materialized view to point at the right GitHub issue.
Release note: None
Co-authored-by: Raphael 'kena' Poss <knz@thaumogen.net>
Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
A-loggingIn and around the logging infrastructure.C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
The
log
package originally had an exported typeLevel
used bylog.V()
.Somewhere during history the external interface of
log.V()
and related functions was changed to accept anint32
directly, and the typeLevel
was un-exported.It is still used internally to the log package but its value is unclear, given that half of the code now uses
level
and the other half usesint32
.The code should be simplified to either use
int32
everywhere, or definetype Level = int32
and rewrite the code to useLevel
without making callers unhappy.cc @tbg
The text was updated successfully, but these errors were encountered: