1.support cancel query via traverse all the workers 2.store the query progress in mysql periodically