From ef759ef011815e50c84b97e468c86be34117a807 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 5 May 2016 15:35:57 -0700 Subject: [PATCH] zk set with version 0 --- control/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/util.go b/control/util.go index 4cda8931..77cd49a7 100644 --- a/control/util.go +++ b/control/util.go @@ -272,7 +272,7 @@ func doPutZk(conn *zk.Conn, requests <-chan request, sameKey bool) { if !sameKey || idx == 0 { _, err = conn.Create(op.key, op.value, zkCreateFlags, zkCreateAcl) } else { - _, err = conn.Set(op.key, op.value, idx) + _, err = conn.Set(op.key, op.value, 0) } var errStr string