Bug: Crash after compacting DB
bugNeeds recreation
**What happens**
When I compact the DB, it crashes the app on startup in some cases
**What I expect to happen**
I expect the db compaction process to just work.
**Link to noteID, npub**
N/A
**Screenshots/video recording**
N/A
**Versions**
Damus version: 1.17 (1316)
Operating system version: 26.4
Device: iPhone SE (3rd generation)
**Steps To Reproduce**
Steps to reproduce the behavior:
1. Fill up NostrDB to several GBs
2. Use up most storage on the device until there is only about 1GB left
3. Try to do DB compaction
**Additional context**
Probably some step in compaction is failing due to lack of storage and causing a crash.
关闭于 2026-04-24 2 条评论