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

Persist lastFetched control data across launcher restarts #990

Merged
merged 9 commits into from
Feb 1, 2023

Conversation

seejdev
Copy link
Contributor

@seejdev seejdev commented Jan 20, 2023

Fixed #979

Enables the control service to persist its in-memory cache of control data to disk, so it can be persisted across launcher restarts. The control service will retrieve subsystem hashes from the key/value store if it doesn't have an in-memory cache record for that subsystem.

I also took the opportunity to move the key/value store interfaces to pkg/agent and tried to making the naming scheme more succinct.

… the first iteration of persisting last fetched data.
@seejdev seejdev marked this pull request as ready for review January 20, 2023 03:11
directionless
directionless previously approved these changes Jan 20, 2023
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

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

Seems okay

RebeccaMahany
RebeccaMahany previously approved these changes Jan 31, 2023
Copy link
Contributor

@RebeccaMahany RebeccaMahany left a comment

Choose a reason for hiding this comment

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

Just the one nitpick, LGTM

directionless
directionless previously approved these changes Jan 31, 2023
@seejdev seejdev dismissed stale reviews from directionless and RebeccaMahany via 6ecb89e February 1, 2023 16:34
@seejdev seejdev merged commit ef3cc79 into kolide:main Feb 1, 2023
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.

Improve control server fetching to persist lastFetched data through restarts
3 participants