diff --git a/zketcd.go b/zketcd.go index a829557..e60b594 100644 --- a/zketcd.go +++ b/zketcd.go @@ -360,9 +360,9 @@ func (z *zkEtcd) mkSetDataTxnOp(op *SetDataRequest) opBundle { return ErrBadVersion } - s.Put(mkPathKey(p), string(op.Data)) - s.Put(mkPathVer(p), string(encodeInt64(int64(currentVersion+1)))) - s.Put(mkPathMTime(p), encodeTime()) + s.Put(mkPathKey(p), string(op.Data), etcd.WithIgnoreLease()) + s.Put(mkPathVer(p), string(encodeInt64(int64(currentVersion+1))), etcd.WithIgnoreLease()) + s.Put(mkPathMTime(p), encodeTime(), etcd.WithIgnoreLease()) return nil }