Open aa624545345 opened 8 months ago
REF containerd/containerd#9929 (comment)
The root page id (3393) is pointing to part of leaf page.
=============================================== Page ID: 3391 Page Type: leaf Total Size: 12288 bytes Overflow pages: 2 Item Count: 3
It looks like there is a potential bug in freelist management, e.g allocate
allocates used pages, and bbolt crashes or terminates for whatever reason right after writing the such data pages, but before updating the meta pages.
I'm not sure whether this is an issue, but it's confusing. In my scenario, when containerd service was running, the host powered off. Next time host started, then containerd started, panic happened when containerd was trying to open the meta.db.
I can provide the meta.db if possible.