bugfix: reset history data size counter when cleanall.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>