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

Update go-memdb to fix a goroutine leak #15068

Merged
merged 3 commits into from
Oct 20, 2022
Merged

Update go-memdb to fix a goroutine leak #15068

merged 3 commits into from
Oct 20, 2022

Conversation

kisunji
Copy link
Contributor

@kisunji kisunji commented Oct 20, 2022

Description

go-memdb was updated to fix a goroutine leak: hashicorp/go-memdb#128

Fixes #15010

@kisunji kisunji requested review from a team and banks and removed request for a team October 20, 2022 14:25
@github-actions github-actions bot added the pr/dependencies PR specifically updates dependencies of project label Oct 20, 2022
@kisunji kisunji requested a review from a team October 20, 2022 14:39
@nathancoleman
Copy link
Member

Seems like go-tests is failing even on rerun 👀

@kisunji
Copy link
Contributor Author

kisunji commented Oct 20, 2022

Seems like go-tests is failing even on rerun 👀

Checking now. Looks unrelated to the bugfix so I'll bisect the previous version too (v1.3.3)

@kisunji
Copy link
Contributor Author

kisunji commented Oct 20, 2022

Confirming that the tests are failing at 1.3.3. May be that some indexer behaviors got changed

@@ -226,7 +226,7 @@ func testIndexerTableGatewayServices() map[string]indexerTestCase {
Service: structs.ServiceName{Name: "SerVice"},
Port: 50123,
}
encodedPort := string([]byte{0x96, 0x8f, 0x06, 0, 0, 0, 0, 0, 0, 0})
encodedPort := string([]byte{0x80, 0, 0, 0, 0, 0, 0xc3, 0xcb})
Copy link
Contributor Author

@kisunji kisunji Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way integers were encoded was updated in go-memdb@v1.3.3 by hashicorp/go-memdb#114

Chris S. Kim added 3 commits October 20, 2022 14:32
go-memdb was updated in v1.3.3 to make integers in indexes sortable, which changed how integers were encoded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/dependencies PR specifically updates dependencies of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

goroutine leak during blocking queries
3 participants