Skip to content
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

Merged
merged 4 commits into from
Dec 5, 2023

Conversation

BupycHuk
Copy link
Member

@BupycHuk BupycHuk commented Dec 5, 2023

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:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

@BupycHuk BupycHuk requested review from a team and idoqo as code owners December 5, 2023 14:23
@BupycHuk BupycHuk requested review from ademidoff, artemgavrilov and JiriCtvrtka and removed request for a team December 5, 2023 14:23
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

Attention: 40 lines in your changes are missing coverage. Please review.

Comparison is base (bef98bf) 42.28% compared to head (8b07067) 42.12%.
Report is 2 commits behind head on pmm-2.41.0.

Files Patch % Lines
agent/client/client.go 70.99% 37 Missing and 1 partial ⚠️
agent/client/channel/channel.go 88.88% 1 Missing ⚠️
agent/commands/run.go 0.00% 1 Missing ⚠️
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     
Flag Coverage Δ
managed 42.77% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -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)

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 {

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)

}

func (c *Client) processChannelRequests(ctx context.Context) {
LOOP:
loop:

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

@BupycHuk BupycHuk merged commit 9a3843d into pmm-2.41.0 Dec 5, 2023
33 checks passed
@BupycHuk BupycHuk deleted the PMM-12743-revert-PMM-8655 branch December 5, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants