{"action":"created","issue":{"url":"https://api.github.com/repos/siddontang/ledisdb/issues/175","labels_url":"https://api.github.com/repos/siddontang/ledisdb/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/siddontang/ledisdb/issues/175/comments","events_url":"https://api.github.com/repos/siddontang/ledisdb/issues/175/events","html_url":"https://github.com/siddontang/ledisdb/issues/175","id":98615992,"number":175,"title":"remove boltdb and lmdb, may only support leveldb/rocksdb/goleveldb","user":{"login":"siddontang","id":1080370,"avatar_url":"https://avatars.githubusercontent.com/u/1080370?v=3","gravatar_id":"","url":"https://api.github.com/users/siddontang","html_url":"https://github.com/siddontang","followers_url":"https://api.github.com/users/siddontang/followers","following_url":"https://api.github.com/users/siddontang/following{/other_user}","gists_url":"https://api.github.com/users/siddontang/gists{/gist_id}","starred_url":"https://api.github.com/users/siddontang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddontang/subscriptions","organizations_url":"https://api.github.com/users/siddontang/orgs","repos_url":"https://api.github.com/users/siddontang/repos","events_url":"https://api.github.com/users/siddontang/events{/privacy}","received_events_url":"https://api.github.com/users/siddontang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-02T15:09:31Z","updated_at":"2015-11-11T23:58:03Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/siddontang/ledisdb/issues/comments/155948574","html_url":"https://github.com/siddontang/ledisdb/issues/175#issuecomment-155948574","issue_url":"https://api.github.com/repos/siddontang/ledisdb/issues/175","id":155948574,"user":{"login":"siddontang","id":1080370,"avatar_url":"https://avatars.githubusercontent.com/u/1080370?v=3","gravatar_id":"","url":"https://api.github.com/users/siddontang","html_url":"https://github.com/siddontang","followers_url":"https://api.github.com/users/siddontang/followers","following_url":"https://api.github.com/users/siddontang/following{/other_user}","gists_url":"https://api.github.com/users/siddontang/gists{/gist_id}","starred_url":"https://api.github.com/users/siddontang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddontang/subscriptions","organizations_url":"https://api.github.com/users/siddontang/orgs","repos_url":"https://api.github.com/users/siddontang/repos","events_url":"https://api.github.com/users/siddontang/events{/privacy}","received_events_url":"https://api.github.com/users/siddontang/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T23:58:03Z","updated_at":"2015-11-11T23:58:03Z","body":"@mmindenhall \r\nIf boltdb starts a read only transaction, it will block any other write operations, and even more, if we do some write operations in read transaction, a deadlock occurs.\r\n\r\nNow the iterator implementation based on boltdb uses its read only transaction, and we do some write operations in some iterations, like\r\n```\r\nit := SeekFirst()\r\ndefer it.Close()\r\n\r\nfor it.Next() {\r\n    key := it.Key()\r\n    deleteKey(key)\r\n}\r\n```\r\nwe will meet deadlock using boltdb. We can solve this problem with refactoring all these codes, but I have no time to do it, sorry. "}}