Forum Stats

  • 3,826,047 Users
  • 2,260,590 Discussions


last item on page sorted greater than parent entry

edited May 18, 2020 2:02PM in Berkeley DB

I am getting Berkeley database corruption after of hundreds write-read cycles. db_verify return this message:

db_verify: BDB1094 Page 221: last item on page sorted greater than parent entry

db_verify: messages.db: BDB0090 DB_VERIFY_BAD: Database verification failed

BDB5105 Verification of messages.db failed.

I always write the same size of data (512 bytes), with put-get functions using cursor.

Later of hundreds of cycles, I am getting invalid pages. db_dump show me this message:


page 219: invalid: LSN [0][1]: level 0

prev:    0 next:  218 entries:    0 offset: 8192


for hundreds pages. I am working with aarch64 arquitecture, aarch64-linux-gnu-gcc compiler, DB_BTREE type and db berkeley version 18.1.32