if (rc == MDB_SUCCESS && root != new_root) { rc = MDB_INCOMPATIBLE; /* page leak or corrupt DB */ } |
Andrew Spott wrote:
> I apologize if this is the wrong place to ask this, let me know if there is someplace better.
>
> So, when doing a `mdb_copy -c`, I've run into the error message:
>
> mdb_copy: copying failed, error -30784 (MDB_INCOMPATIBLE: Operation and DB incompatible, or DB flags changed)
>
> When looking at the mdb_copy man page, it says that mdb_copy with compaction might fail if the database has a 'page leak'.
>
> Since that appears to be what has happened...
The error message you got has nothing to do with a page leak.
> can anyone tell me what that means? Does this mean that the data could be corrupted? How do I fix this?
>
> Thanks!
>
> -Andew
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/