-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "PMM-8655 Send unsent messages after connection problems (#1970)" #2676
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## pmm-2.41.0 #2676 +/- ##
==============================================
- Coverage 42.28% 42.12% -0.16%
==============================================
Files 399 395 -4
Lines 50339 49963 -376
==============================================
- Hits 21286 21048 -238
+ Misses 27061 26947 -114
+ Partials 1992 1968 -24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
agent/commands/run.go
Outdated
@@ -113,9 +111,10 @@ func Run() { | |||
func processClientUntilCancel(ctx context.Context, client *client.Client, reloadCh chan bool) { | |||
for { | |||
clientCtx, cancelClientCtx := context.WithCancel(ctx) | |||
client.Run(clientCtx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
Error return value of client.Run
is not checked (errcheck)
@@ -58,6 +59,18 @@ type versionsCache struct { | |||
items map[string]*mySQLVersion | |||
} | |||
|
|||
func (m *PerfSchema) mySQLVersion() *mySQLVersion { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [golangci] reported by reviewdog 🐶
func (*PerfSchema).mySQLVersion
is unused (unused)
agent/client/client.go
Outdated
} | ||
|
||
func (c *Client) processChannelRequests(ctx context.Context) { | ||
LOOP: | ||
loop: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[go-consistent] reported by reviewdog 🐶
label case: use ALL_UPPER
This reverts commit a3a52c1
PMM-12743
Link to the Feature Build: SUBMODULES-0
If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:
If this PR is related to some other PRs in this or other repositories, please provide links to those PRs: