Fix of CLOUDSRV-1797: Investigate issues with api stopping writing logs when log db fails over