Hello developers! I suggest publishing the essence of the problem so that everyone can suggest a solution. And you could use these ideas. I'm a very bad specialist, but I suggest. It is necessary to stop mining on all pools and stop transactions on the network, then you need to fix the error in the database and put on all the pools a new version of the database in the mode read-only. And wait some time.
May be anybody suggest one better.