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

feat: add persistence support #4

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

smira
Copy link
Member

@smira smira commented May 14, 2024

Add support to persist and load buffer from disk.

@smira smira force-pushed the feat/persistence branch from a874ed6 to 55734a3 Compare May 16, 2024 11:29
@smira smira marked this pull request as ready for review May 16, 2024 11:29
Add support to persist and load buffer from disk.

Co-authored-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
@smira smira force-pushed the feat/persistence branch from 55734a3 to cbce5c3 Compare May 16, 2024 12:10
@smira
Copy link
Member Author

smira commented May 16, 2024

/m

@talos-bot talos-bot merged commit cbce5c3 into siderolabs:main May 16, 2024
14 checks passed
utkuozdemir added a commit to utkuozdemir/sidero-omni that referenced this pull request Jun 10, 2024
Switch from the old machine log storage approach to using the new persistence feature in the go-circular: siderolabs/go-circular#4

Implement a migration code to migrate from old format to the new format when a machine log buffer is initialized.

Move some hardcoded log buffer settings into config (CLI args).

Use a default jitter of 0.1 (10+-1 minutes).

Rework the CLI arg names to be consistent.

Closes siderolabs#118.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
utkuozdemir added a commit to utkuozdemir/sidero-omni that referenced this pull request Jun 10, 2024
Switch from the old machine log storage approach to using the new persistence feature in the go-circular: siderolabs/go-circular#4

Implement a migration code to migrate from old format to the new format when a machine log buffer is initialized.

Move some hardcoded log buffer settings into config (CLI args).

Use a default jitter of 0.1 (10+-1 minutes).

Rework the CLI arg names to be consistent.

Closes siderolabs#118.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
utkuozdemir added a commit to utkuozdemir/sidero-omni that referenced this pull request Jun 10, 2024
Switch from the old machine log storage approach to using the new persistence feature in the go-circular: siderolabs/go-circular#4

Implement a migration code to migrate from old format to the new format when a machine log buffer is initialized.

Move some hardcoded log buffer settings into config (CLI args).

Use a default jitter of 0.1 (10+-1 minutes).

Rework the CLI arg names to be consistent.

Closes siderolabs#118.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
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.

4 participants