Hi BDB experts,
This a HA master environment, for some reason unknown, now open environment always returned DB_RUNRECOVERY. The environment was open with flag:
DB_INIT_TXN | DB_INIT_LOCK | DB_INIT_LOG | DB_REGISTER | DB_RECOVER | DB_INIT_MPOOL | DB_THREAD | DB_INIT_REP;
In this case, can the enviroment be recovered? What can be done for this error?
Could you tell me the causes of error "DB_RUNRECOVERY"?
DB_RUNRECOVERY gets returned when there is a suspected issue in the database. You need to run recovery. Chap 11 of BDB Programmers Reference covers the procedures for running recovery. In this case, I would suggest running the db_recover utility. When you run the utility you should ensure that there are no processes connected to the environment and it is closed.
possible causes -- memory errors, disk errors, hw errors, application errors, power failures, cpu errors, human errors There are many paths in the code that can throw this particular error. To figure out the exact trigger for your case, this is something that Oracle support handles. Have you purchased a support contract for BDB?