Forum Stats

  • 3,840,138 Users
  • 2,262,571 Discussions


different machine get different result while running database recovery .

529558 Member Posts: 8
edited Aug 29, 2006 8:15AM in Berkeley DB
I have a same application and same Database generated by that application ,
run that application comes with the same Database at different machine and get different result .
At one machine an exception is throwed with the error-msg "
DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery " while the application was running a recovery procedure,but other machine do not have such problem .


  • 529558
    529558 Member Posts: 8
    if there was a former application corruption,the application should has runned the recovery procedure as my setting DB_RECOVERY | DB_CREATE | DB_INIT_TXN for DnEnv::Open() but give the error-report of "DB_RUNRECOVERY".
  • Hi,

    What is the difference between the first and the second machine? Do you have a short test case that displays this failure?

    From what I see from other questions posted by you, you are using Berkeley DB Data Store, with C++ APIs?

    Here are some helpful links regarding DB recovery:
    Recovery procedures:
    Architecting Transactional Data Store applications:
    Recoverability and deadlock handling:

    Bogdan Coman
This discussion has been closed.