DB-722 merge tc-heuristic-recover fix from percona server