Skip to content

Comments

BUG FIX: Database partial write safeguard and docs#857

Merged
nachog00 merged 1 commit intozingolabs:devfrom
idky137:database_write_bug_fix_and_docs
Feb 23, 2026
Merged

BUG FIX: Database partial write safeguard and docs#857
nachog00 merged 1 commit intozingolabs:devfrom
idky137:database_write_bug_fix_and_docs

Conversation

@idky137
Copy link
Contributor

@idky137 idky137 commented Feb 20, 2026

Fixes bug in database write leading to partially written blocks, corrupting database tables. Updates database changelog and migration documentation. (Also ran cargo fmt --all)

Closes #836
Closes #837

NOTE: The changes in zaino_proto/src/proto/service.rs and zaino_state/src/error.rs are all from running cargo fmt --all

@idky137 idky137 marked this pull request as ready for review February 20, 2026 13:43
@idky137
Copy link
Contributor Author

idky137 commented Feb 20, 2026

NOTE: If we release zaino before this PR lands it should be updated so that the database updates go into the v1.1.0->v1.2.0 migration (instead of the v1.0.0->1.1.0 migration currently on dev).

@idky137 idky137 requested a review from nachog00 February 20, 2026 14:07
@idky137 idky137 changed the title Database partial write safeguard and docs BUG FIX: Database partial write safeguard and docs Feb 23, 2026
@nachog00 nachog00 merged commit 4c78e66 into zingolabs:dev Feb 23, 2026
67 of 83 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.

db modifications from pr #778 need documentation Potential for partially written blocks to corrupt db

2 participants