{"action":"opened","issue":{"url":"https://api.github.com/repos/ideawu/ssdb/issues/891","repository_url":"https://api.github.com/repos/ideawu/ssdb","labels_url":"https://api.github.com/repos/ideawu/ssdb/issues/891/labels{/name}","comments_url":"https://api.github.com/repos/ideawu/ssdb/issues/891/comments","events_url":"https://api.github.com/repos/ideawu/ssdb/issues/891/events","html_url":"https://github.com/ideawu/ssdb/issues/891","id":139205092,"number":891,"title":"设置了expire的key，没达到超时时间就被删除的问题","user":{"login":"smartian1","id":12165971,"avatar_url":"https://avatars.githubusercontent.com/u/12165971?v=3","gravatar_id":"","url":"https://api.github.com/users/smartian1","html_url":"https://github.com/smartian1","followers_url":"https://api.github.com/users/smartian1/followers","following_url":"https://api.github.com/users/smartian1/following{/other_user}","gists_url":"https://api.github.com/users/smartian1/gists{/gist_id}","starred_url":"https://api.github.com/users/smartian1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartian1/subscriptions","organizations_url":"https://api.github.com/users/smartian1/orgs","repos_url":"https://api.github.com/users/smartian1/repos","events_url":"https://api.github.com/users/smartian1/events{/privacy}","received_events_url":"https://api.github.com/users/smartian1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-08T07:42:01Z","updated_at":"2016-03-08T07:42:01Z","closed_at":null,"body":"@ideawu ，测试时发现一个问题：\r\n1. 双主模式，A和B\r\n2.A和B中已经插入了大量的数据，且这些数据设置了expire时间，info信息如下\r\n![qq 20160308153848](https://cloud.githubusercontent.com/assets/12165971/13595128/e2513810-e543-11e5-8cd3-39eb8a007247.png)\r\n\r\n3.此时用ssdb-cli，插入一个带有expire时间的key，但是发现没到过期时间，这个key就被删除了\r\n![qq 20160308154042](https://cloud.githubusercontent.com/assets/12165971/13595171/26a82d2a-e544-11e5-8e14-5e035847cd17.png)\r\n\r\n上图中的每个命令之间都是大概间隔一秒，所以我设置的那个300秒的过期时间，是还没有到的"}}