Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

directionless
Copy link
Member

@directionless directionless commented Oct 19, 2024

To fix a memory leak, #8274 added a lot of excess enumeration work. This, unfortunately, is a horrific performance regression for all unified_log usage without a timestamp constraint.

This adds a somewhat cumbersome additional WHERE clause to most of the tests. It's not ideal, but it should cut down on the run time significantly.

Copy link

linux-foundation-easycla bot commented Oct 19, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@Smjert
Copy link
Member

Smjert commented Oct 19, 2024

@seph: this might be needed too: #8451

@directionless directionless changed the title Bandaid for tests due to slow Update tests for unified_log table to work around slowness Oct 20, 2024
@directionless directionless reopened this Oct 20, 2024
@directionless directionless marked this pull request as ready for review October 20, 2024 03:53
@directionless directionless requested review from a team as code owners October 20, 2024 03:53
@Smjert Smjert assigned groob and unassigned groob Oct 20, 2024
@directionless directionless merged commit 09a2464 into osquery:master Oct 20, 2024
22 checks passed
@directionless directionless deleted the seph/ci-bandaid branch October 20, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.