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

Feature: Auto-recover on fail boot skyd #353

Open
BitHeaven-Official opened this issue Jun 5, 2024 · 1 comment
Open

Feature: Auto-recover on fail boot skyd #353

BitHeaven-Official opened this issue Jun 5, 2024 · 1 comment
Labels
C-enhancement New feature or request

Comments

@BitHeaven-Official
Copy link

Description
Add in config parameter recover or smth like this (int or bool). Int value can use for different recover level (like in mysql)

  1. Database broken
  2. skyd starts
  3. skyd can't launch and automatically repairing database
  4. skyd successfully launches
@BitHeaven-Official BitHeaven-Official added the C-enhancement New feature or request label Jun 5, 2024
@ohsayan
Copy link
Member

ohsayan commented Jul 18, 2024

This is actually a good idea. Do you think something like this would make sense?

system:
    autorecover_level: 0 # defaults to 0, which means no autorecover

Levels could be: (0) Do nothing (1) Make subjectively "less risky" repairs. I don't wish to add higher levels because that could be too risky. Level (1) should be sufficient to auto-repair unsafe log closures due to system crashes etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants