Skip to content

fix: /health answers 503 while database writes fail, the database size from goleveldb's level sizes DevFo-OSS/17 - #10

Merged
srelon merged 2 commits into
mainfrom
leveldb-fixes
Dec 4, 2026
Merged

srelon merged 2 commits into
mainfrom
leveldb-fixes

Conversation

@srelon

@srelon srelon commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator
  • kv.DB.WriteError: the last write's error; Store.Ping fails with it, so /health answers 503 on a full disk while reads still work (TestPingFailsWhileWritesFail).
  • Size sums the tables of the current version from DB.Stats (LevelSizes) instead of parsing the leveldb.sstables property.

@srelon
srelon merged commit 56f4c00 into main Dec 4, 2026
3 checks passed
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.

1 participant