{"action":"closed","issue":{"url":"https://api.github.com/repos/antirez/redis/issues/3397","repository_url":"https://api.github.com/repos/antirez/redis","labels_url":"https://api.github.com/repos/antirez/redis/issues/3397/labels{/name}","comments_url":"https://api.github.com/repos/antirez/redis/issues/3397/comments","events_url":"https://api.github.com/repos/antirez/redis/issues/3397/events","html_url":"https://github.com/antirez/redis/issues/3397","id":166411486,"number":3397,"title":"Keys missing/neglecting TTL","user":{"login":"mgartner","id":1128750,"avatar_url":"https://avatars.githubusercontent.com/u/1128750?v=3","gravatar_id":"","url":"https://api.github.com/users/mgartner","html_url":"https://github.com/mgartner","followers_url":"https://api.github.com/users/mgartner/followers","following_url":"https://api.github.com/users/mgartner/following{/other_user}","gists_url":"https://api.github.com/users/mgartner/gists{/gist_id}","starred_url":"https://api.github.com/users/mgartner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgartner/subscriptions","organizations_url":"https://api.github.com/users/mgartner/orgs","repos_url":"https://api.github.com/users/mgartner/repos","events_url":"https://api.github.com/users/mgartner/events{/privacy}","received_events_url":"https://api.github.com/users/mgartner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-19T19:15:39Z","updated_at":"2016-11-08T22:49:18Z","closed_at":"2016-11-08T22:49:18Z","body":"On extremely rare occasions I've seen keys lose their TTL, or not get a TTL set at all. I'm using **Redis v2.8.24** to store state for rate limiting an API. I run the following commands using the [node redis client](https://github.com/NodeRedis/node_redis). On a handful of times out of hundreds of millions of executions of this sequence I've seen the `real` key never expire.\n\n```\nMULTI\nSETEX temp 60 0\nRENAMENX temp real\nINCR real\nEXEC\n```\n\nAdmittedly, the rename is not necessary, but regardless, I don't see any reason it should be neglecting the TTL. Is there something I'm not seeing, possible any potential race conditions?\n"}}
{"actor":{"display_login":"mgartner"}}