{"action":"created","issue":{"url":"https://api.github.com/repos/twmht/python-rocksdb/issues/4","repository_url":"https://api.github.com/repos/twmht/python-rocksdb","labels_url":"https://api.github.com/repos/twmht/python-rocksdb/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/twmht/python-rocksdb/issues/4/comments","events_url":"https://api.github.com/repos/twmht/python-rocksdb/issues/4/events","html_url":"https://github.com/twmht/python-rocksdb/issues/4","id":221743815,"node_id":"MDU6SXNzdWUyMjE3NDM4MTU=","number":4,"title":"python-rocksdb have some problem in time-to-live db","user":{"login":"young001","id":391571,"node_id":"MDQ6VXNlcjM5MTU3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/391571?v=4","gravatar_id":"","url":"https://api.github.com/users/young001","html_url":"https://github.com/young001","followers_url":"https://api.github.com/users/young001/followers","following_url":"https://api.github.com/users/young001/following{/other_user}","gists_url":"https://api.github.com/users/young001/gists{/gist_id}","starred_url":"https://api.github.com/users/young001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/young001/subscriptions","organizations_url":"https://api.github.com/users/young001/orgs","repos_url":"https://api.github.com/users/young001/repos","events_url":"https://api.github.com/users/young001/events{/privacy}","received_events_url":"https://api.github.com/users/young001/received_events","type":"User","site_admin":false},"labels":[{"id":565688931,"node_id":"MDU6TGFiZWw1NjU2ODg5MzE=","url":"https://api.github.com/repos/twmht/python-rocksdb/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"twmht","id":1567200,"node_id":"MDQ6VXNlcjE1NjcyMDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1567200?v=4","gravatar_id":"","url":"https://api.github.com/users/twmht","html_url":"https://github.com/twmht","followers_url":"https://api.github.com/users/twmht/followers","following_url":"https://api.github.com/users/twmht/following{/other_user}","gists_url":"https://api.github.com/users/twmht/gists{/gist_id}","starred_url":"https://api.github.com/users/twmht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twmht/subscriptions","organizations_url":"https://api.github.com/users/twmht/orgs","repos_url":"https://api.github.com/users/twmht/repos","events_url":"https://api.github.com/users/twmht/events{/privacy}","received_events_url":"https://api.github.com/users/twmht/received_events","type":"User","site_admin":false},"assignees":[{"login":"twmht","id":1567200,"node_id":"MDQ6VXNlcjE1NjcyMDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1567200?v=4","gravatar_id":"","url":"https://api.github.com/users/twmht","html_url":"https://github.com/twmht","followers_url":"https://api.github.com/users/twmht/followers","following_url":"https://api.github.com/users/twmht/following{/other_user}","gists_url":"https://api.github.com/users/twmht/gists{/gist_id}","starred_url":"https://api.github.com/users/twmht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twmht/subscriptions","organizations_url":"https://api.github.com/users/twmht/orgs","repos_url":"https://api.github.com/users/twmht/repos","events_url":"https://api.github.com/users/twmht/events{/privacy}","received_events_url":"https://api.github.com/users/twmht/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2017-04-14T05:19:28Z","updated_at":"2018-09-26T07:52:19Z","closed_at":null,"author_association":"NONE","body":"when a rockdb opened by with a time-to-live option,in java is \r\n```\r\nOptions options = new Options().setCreateIfMissing(true);\r\n\r\n            options.setKeepLogFileNum(10);\r\n            rawDatadb = TtlDB.open(options, \"xxx\", 43200, false);\r\n```\r\n\r\nwhen open using python-rocksdb,the value will print some odd character,it maybe the inner data of time-to-live,when open by python-rocksdb: rocks_db = rocksdb.DB(\"xxx\", opts, read_only=True),even add a ttl to the DB is the same\r\n\r\nsuch as:\r\n[{\"name\":\"haha\"}]�E�X\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/twmht/python-rocksdb/issues/comments/424620468","html_url":"https://github.com/twmht/python-rocksdb/issues/4#issuecomment-424620468","issue_url":"https://api.github.com/repos/twmht/python-rocksdb/issues/4","id":424620468,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDYyMDQ2OA==","user":{"login":"vnnw","id":4979571,"node_id":"MDQ6VXNlcjQ5Nzk1NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4979571?v=4","gravatar_id":"","url":"https://api.github.com/users/vnnw","html_url":"https://github.com/vnnw","followers_url":"https://api.github.com/users/vnnw/followers","following_url":"https://api.github.com/users/vnnw/following{/other_user}","gists_url":"https://api.github.com/users/vnnw/gists{/gist_id}","starred_url":"https://api.github.com/users/vnnw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnnw/subscriptions","organizations_url":"https://api.github.com/users/vnnw/orgs","repos_url":"https://api.github.com/users/vnnw/repos","events_url":"https://api.github.com/users/vnnw/events{/privacy}","received_events_url":"https://api.github.com/users/vnnw/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T07:52:19Z","updated_at":"2018-09-26T07:52:19Z","author_association":"NONE","body":"> @young001\r\n> \r\n> Sorry for late reply, Currently python-rocksdb does not support time-to-live api, I will add it.\r\n> \r\n> btw, Can you give me some mini-example databases which can reproduce your problem?\r\n\r\nHas time-to-live api been added or not? I can't find any information about it."}}
{"actor":{"display_login":"vnnw"}}