pkg/agentctl: FindCardinality, FindSamples do not invoke WAL.Close() hence leaks resources #506
Labels
frozen-due-to-age
Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
There is a missing defer WAL.Close() in FindCardinality and that’ll look like substantial resources will be leaked per
agent/pkg/agentctl/cardinality.go
Lines 18 to 38 in e83883d
ditto for
agent/pkg/agentctl/samples.go
Lines 27 to 35 in e83883d
given the code in (*WAL).Close
The text was updated successfully, but these errors were encountered: