hdikme commented on this pull request.
@@ -149,6 +152,25 @@ void check_dbs(unsigned int ticks, void *param){
lock_release(list_lock); }
+void check_master_db(int dbm_write_default) { + if(mdb_availability_control) { + if(mdb.write.dbh){
There is unfortunately no other function other than "db_init_f init;" that could be used to check if the master db is available. Therefore each time a new mdb handler is created from the scratch and this requires first closing the existing mdb handler.