ETCD 的数据压缩

先看下错误:

1
2
3
level=error ts=2020-11-05T08:19:55.560476348Z caller=etcd.go:124 msg="error CASing" key=collectors/ring err="etcdserver: mvcc: database space exceeded"

level=error ts=2020-11-05T08:19:55.560509943Z caller=lifecycler.go:409 msg="failed to write to the KV store, sleeping" ring=ingester err="etcdserver: mvcc: database space exceeded"
1
{"level":"warn","ts":"2020-11-05T08:20:00.524Z","caller":"clientv3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"endpoint://client-5672ee3e-005f-4100-aef5-a4e3dd2ae592/192.168.48.32:23791","attempt":0,"error":"rpc error: code = ResourceExhausted desc = etcdserver: mvcc: database space exceeded"}