[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: db_verify



These messages are irrelevant on Intel and other little-endian platforms as
slapd uses a non-default sort function for the id2entry database on these
systems. (It might have been prettier in this case to use the default sort
function and swap the byte-order of the keys, but that made for a lot of
messy dependencies in the code. back-ldbm actually does this, though, to
preserve locality of reference in the database.)

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Sean O'Malley

> I decided to run db_verify on it.
>
> I got results like this:
>
> db_verify: Page 27243: out-of-order key at entry 42
> db_verify: Page 27244: out-of-order key at entry 11
> db_verify: Page 27244: out-of-order key at entry 20
> db_verify: Page 27244: out-of-order key at entry 30
> db_verify: Page 27244: out-of-order key at entry 39
> db_verify: Page 27244: out-of-order key at entry 49
> db_verify: Page 27244: out-of-order key at entry 58
> db_verify: Page 27244: out-of-order key at entry 68
> db_verify: Page 27254: out-of-order key at entry 14
> db_verify: Page 27263: out-of-order key at entry 40
> db_verify: Page 27273: out-of-order key at entry 12
> db_verify: Page 27282: out-of-order key at entry 38
> db_verify: Page 27292: out-of-order key at entry 10
> db_verify: Page 27301: out-of-order key at entry 36
> db_verify: Page 27311: out-of-order key at entry 8
> db_verify: DB->verify: /home/openldap/users/id2entry.bdb:
> DB_VERIFY_BAD:
> Database verification failed
>
> The ODD part is this the Page numbers skipped pretty much all
> the way up
> to 27300 by 9, 10 or 11.
>
>
> Sean
>
> --------------------------------------
>   Sean O'Malley, Information Technologist
>   Michigan State University
> -------------------------------------
>
>
>
>