After upgrading to Berkeley DB 4.3 and later, I'm seeing repository errors and svnadmin recover fails.

Prior to Berkeley DB 4.3, svnadmin recover worked to upgrade a Berkeley DB repository in-place. However, due to a change in the behavior of Berkeley DB in version 4.3, this now fails. Use this procedure to upgrade your repository in-place to Berkeley DB 4.3 or later:

The repository is now usable by Berkeley DB 4.3.