mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl/ctlv3: remove mvccpb.EXPIRE in mirror cmd
This commit is contained in:
parent
3266c809e4
commit
c43e59338f
@ -128,7 +128,7 @@ func makeMirror(ctx context.Context, c *clientv3.Client, dc *clientv3.Client) er
|
||||
case mvccpb.PUT:
|
||||
ops = append(ops, clientv3.OpPut(string(ev.Kv.Key), string(ev.Kv.Value)))
|
||||
atomic.AddInt64(&total, 1)
|
||||
case mvccpb.DELETE, mvccpb.EXPIRE:
|
||||
case mvccpb.DELETE:
|
||||
ops = append(ops, clientv3.OpDelete(string(ev.Kv.Key)))
|
||||
atomic.AddInt64(&total, 1)
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user