Withhold addresses after the database is recreated without a backup
When ripe.db is corrupted and no valid backup exists, a new empty database is created with a db_recreated.json marker; /addresses and /addresses/diff answer 503 until the collector gathers data again, /health reports db_recreated. Tests now isolate all state files via conftest. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
46d56654d8
commit
0155fd3f38
13 files changed
+226
-32
No files matched your search
@@ -16,3 +16,4 @@ data.json
|
||||
fqdn_data.json
|
||||
backups/
|
||||
last_restore.json
|
||||
db_recreated.json
|
||||
Reference in new issue
Block a user