{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/9374","repository_url":"https://api.github.com/repos/coreos/etcd","labels_url":"https://api.github.com/repos/coreos/etcd/issues/9374/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/9374/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/9374/events","html_url":"https://github.com/coreos/etcd/issues/9374","id":301104313,"number":9374,"title":"etcdserver: requested lease not found","user":{"login":"sh1ng","id":2821871,"avatar_url":"https://avatars1.githubusercontent.com/u/2821871?v=4","gravatar_id":"","url":"https://api.github.com/users/sh1ng","html_url":"https://github.com/sh1ng","followers_url":"https://api.github.com/users/sh1ng/followers","following_url":"https://api.github.com/users/sh1ng/following{/other_user}","gists_url":"https://api.github.com/users/sh1ng/gists{/gist_id}","starred_url":"https://api.github.com/users/sh1ng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh1ng/subscriptions","organizations_url":"https://api.github.com/users/sh1ng/orgs","repos_url":"https://api.github.com/users/sh1ng/repos","events_url":"https://api.github.com/users/sh1ng/events{/privacy}","received_events_url":"https://api.github.com/users/sh1ng/received_events","type":"User","site_admin":false},"labels":[{"id":46697272,"url":"https://api.github.com/repos/coreos/etcd/labels/Bug","name":"Bug","color":"d61552","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-28T17:02:20Z","updated_at":"2018-03-08T18:57:10Z","closed_at":"2018-03-08T18:57:10Z","author_association":"NONE","body":"# Bug reporting\r\n\r\nWe use an etcd cluster of 3 members with version\r\n`quay.io/coreos/etcd:v3.2.0`\r\nrunning in k8s cluster. Not a heavy load, about 10k writes a day.\r\n\r\n```\r\nlease, err := client.Lease.Grant(myContext, int64(24 * time.Hour))\r\nif err != nil {\r\n\tlog.Error(\"Unable to get a lease from etcd\", \"error\", err)\r\n\treturn err\r\n}\r\n_, err = client.KV.Put(myContext, key, string(msg), clientv3.WithLease(lease.ID))\r\nif err != nil {\r\n\tlog.Error(\"Unable to put a record into etcd\", \"error\", err) // <- it's logged here \r\n\treturn err\r\n}\r\n\r\n```\r\nHow that even possible? We see the error a few times a day.\r\nWhat is the best way to deal with it? \r\n"}}
{"actor":{"display_login":"gyuho"}}