Etcd inner db cannot clean


have a Rancher installation using docker image. version v2.2.1.

Lately started to get logs “Failed to update lock: etcdserver: mvcc: database space exceeded”

checking etcd for the cluster we have everything looks ok.

So noticed that etcd db inside rancher docker container is like this:

inside directoy /var/lib/rancher/management-state/etcd/member/snap

2.1G Jul 17 22:29 db

but cannot compact or interact with it.

Why Rancher docker image has a etcd db itself? is not enough having the cluster one?

and how can we keep it small in order to solve the problem?

Thanks in advance