Fix event expiration to prevent losing events by zwass · Pull Request #8535 · osquery/osquery

@zwass

Fixes osquery#8524 by ensuring the last events are never expired from a table. Without this change, new event IDs could be unintentionally generated starting from 1, while optimizations tell the generate function to look at a higher ID. All of those newer events would then never be logged.

@zwass added bug events

Related to osquery's evented tables or eventing subsystem

labels

Jan 21, 2025

@zwass zwass mentioned this pull request

Jan 21, 2025

@zwass

@zwass

directionless

directionless

@zwass zwass deleted the fix-events-expiration branch

March 11, 2025 17:23